website/_includes/menu.html
2018-01-01 01:29:35 +01:00

11 lines
438 B
HTML

{%- for node in site.pages -%}
{%- if node.lang == page.lang and node.menutitle -%}
{%- if node.url == page.url -%}
<li><a href="{{ node.url }}" class="is-active">{{ node.menutitle | escape }}</a></li>
{%- else -%}
<li><a href="{{ node.url }}">{{ node.menutitle | escape }}</a></li>
{%- 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>