website/_includes/menu.html

12 lines
438 B
HTML
Raw Normal View History

2017-12-22 20:35:38 +01:00
{%- for node in site.pages -%}
{%- if node.lang == page.lang and node.menutitle -%}
2017-12-22 20:35:38 +01:00
{%- if node.url == page.url -%}
<li><a href="{{ node.url }}" class="is-active">{{ node.menutitle | escape }}</a></li>
2017-12-22 20:35:38 +01:00
{%- else -%}
<li><a href="{{ node.url }}">{{ node.menutitle | escape }}</a></li>
2017-12-22 20:35:38 +01:00
{%- endif -%}
{%- endif -%}
{%- endfor -%}
<li><a href="https://git.zom.bi/explore/projects">Git</a></li>
<li><a href="https://wiki.zom.bi/">Wiki</a></li>