2018-06-19 16:53:31 +02:00
|
|
|
{% assign sorted_nodes = site.pages | sort:"menutitle" | sort:"menuorder" %}
|
|
|
|
{%- for node in sorted_nodes -%}
|
2018-01-01 01:29:35 +01:00
|
|
|
{%- if node.lang == page.lang and node.menutitle -%}
|
2018-01-02 19:33:11 +01:00
|
|
|
<li>
|
|
|
|
<a href="{{ node.url }}" {%- if node.url == page.url %} class="is-active"{% endif -%}>
|
|
|
|
{{ node.menutitle | escape }}
|
|
|
|
</a>
|
|
|
|
</li>
|
2017-12-22 20:35:38 +01:00
|
|
|
{%- endif -%}
|
|
|
|
{%- endfor -%}
|
2018-01-02 19:33:11 +01:00
|
|
|
{% for link in site.external %}
|
|
|
|
<li><a href="{{ link.url }}">{{ link.name }}</a></li>
|
|
|
|
{% endfor %}
|