Valentin Gehrke
4c1092c4c2
This adds the correct language code to the html tag. Additionally it slims the menu.html include
12 lines
353 B
HTML
12 lines
353 B
HTML
{%- for node in site.pages -%}
|
|
{%- if node.lang == page.lang and node.menutitle -%}
|
|
<li>
|
|
<a href="{{ node.url }}" {%- if node.url == page.url %} class="is-active"{% endif -%}>
|
|
{{ node.menutitle | escape }}
|
|
</a>
|
|
</li>
|
|
{%- endif -%}
|
|
{%- endfor -%}
|
|
{% for link in site.external %}
|
|
<li><a href="{{ link.url }}">{{ link.name }}</a></li>
|
|
{% endfor %}
|