fmouhart.epheme.re/templates/nav.html
2023-11-02 09:04:40 +01:00

10 lines
302 B
HTML

<nav>
<menu>
<li><a class="nav_selected" href="/">Home</a></li>
{% for subsection in root.subsections %}
{% set subsection = get_section(path=subsection, metadata_only=true) %}
<li><a href="{{ subsection.permalink }}">{{ subsection.title }}</a></li>
{% endfor %}
</menu>
</nav>