test/_includes/menu.html

12 lines
387 B
HTML
Raw Normal View History

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