Create navigation partial

This commit is contained in:
TheThomaas 2024-02-10 21:08:36 +01:00
parent 33f0aecdf6
commit fdb14d6a35

View file

@ -0,0 +1,11 @@
<nav>
<ul>
{% for item in collections.subpages %}
{% if item.data.excludeFromNav != true %}
<li>
<a href="#{{ item.data.title | slug }}">{{ item.data.title }}</a>
</li>
{% endif %}
{% endfor %}
</ul>
</nav>