Skip to content

Commit 27484e3

Browse files
committed
put space after inline loquid tag
1 parent 1d56db9 commit 27484e3

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

_includes/navbar.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,41 +7,41 @@
77
<span class='icon-bar'></span>
88
</button>
99
<a class='navbar-brand navbar-logo' href='/index.html'><img src='{{ site.baseurl | append: "/assets/img/site/rse.png" }}'/></a>
10-
{%-# a class='navbar-brand' href='/index.html'>de-RSE</a -%}
10+
{%- # a class='navbar-brand' href='/index.html'>de-RSE</a -%}
1111
</div>
1212
<div id='navbar' class='collapse navbar-collapse'>
1313
<ul class='nav navbar-nav'>
14-
{%-# Set variable "lang" to reflect page language -%}
14+
{%- # Set variable "lang" to reflect page language -%}
1515
{%- if page.url contains "/en/" -%}
1616
{%- assign lang = "/en/" -%}
1717
{%- assign conf2019_title = "deRSE20 Conference" -%}
1818
{%- elsif page.url contains "/de/"-%}
1919
{%- assign lang ="/de/"-%}
2020
{%- assign conf2019_title = "deRSE20 Konferenz"-%}
2121
{%- endif-%}
22-
{%-# Set variable "page_conf2019" to reflect if we are on a conference page -%}
22+
{%- # Set variable "page_conf2019" to reflect if we are on a conference page -%}
2323
{%- assign page_conf2019 = false-%}
2424
{%- assign conf2019_link = "../deRSE20"-%}
2525
{%- if page.url contains "/conf2019/"-%}
2626
{%- assign page_conf2019 = true-%}
2727
{%- assign conf2019_link = "index.html"-%}
2828
<li class='navbar-conflink'><a href='{{ conf2019_link | prepend: site.baseurl }}'>{{ conf2019_title }}</a></li>
2929
{%- endif-%}
30-
{%-# Get a list of pages sorted by the "weight" variable from the YAML header of each page file -%}
30+
{%- # Get a list of pages sorted by the "weight" variable from the YAML header of each page file -%}
3131
{%- assign pg = site.pages | sort: "weight"-%}
3232
{%- for node in pg-%}
33-
{%-# Neglect imprint.html and index.html in either language -%}
33+
{%- # Neglect imprint.html and index.html in either language -%}
3434
{%- unless node.path contains "imprint" or node.path contains "index"-%}
35-
{%-# Set variable "node_conf2019" if node links to a conference page -%}
35+
{%- # Set variable "node_conf2019" if node links to a conference page -%}
3636
{%- assign node_conf2019 = false-%}
3737
{%- if node.url contains "/conf2019/"-%}
3838
{%- assign node_conf2019 = true-%}
3939
{%- endif-%}
40-
{%-# Process page only if it's on the same path as the current page regarding language and conference -%}
40+
{%- # Process page only if it's on the same path as the current page regarding language and conference -%}
4141
{%- if node.url contains lang and node_conf2019 == page_conf2019-%}
42-
{%-# node.url does not contain file endings and is relative: make absolute and append file ending -%}
42+
{%- # node.url does not contain file endings and is relative: make absolute and append file ending -%}
4343
{%- if node_conf2019-%}
44-
{%-# Identify parents and children for dropdown -%}
44+
{%- # Identify parents and children for dropdown -%}
4545
{%- if node.isparent == true-%}
4646
{%- capture parent_id-%} {{ node.name | remove: ".md" }}{%- endcapture-%}
4747
<li class='navbar-conflink dropdown'>
@@ -66,10 +66,10 @@
6666
{%- endfor-%}
6767
</ul>
6868
<ul class='nav navbar-nav pull-right'>
69-
{%-# Build language-relative URL from current URL -%}
69+
{%- # Build language-relative URL from current URL -%}
7070
{%- assign en-url = page.url | replace: "/de/", "/en/"-%}
7171
{%- assign de-url = page.url | replace: "/en/", "/de/"-%}
72-
{%-# Ignore index pages, as their URL will always be '/{language}/', not a specific site -%}
72+
{%- # Ignore index pages, as their URL will always be '/{language}/', not a specific site -%}
7373
{%- unless page.path contains "index"-%}
7474
{%- assign en-url = en-url | append: ".html"-%}
7575
{%- assign de-url = de-url | append: ".html"-%}
@@ -86,6 +86,6 @@
8686
{%- endif-%}
8787
</ul>
8888
</div>
89-
{%-#/.nav-collapse -%}
89+
{%- #/.nav-collapse -%}
9090
</div>
9191
</nav>

0 commit comments

Comments
 (0)