1
0

Generate navigation from config

This commit is contained in:
2021-12-02 11:13:36 +01:00
parent 21f1f15e42
commit b3a77181ef
2 changed files with 10 additions and 3 deletions

View File

@ -11,9 +11,9 @@
</header>
<aside>
<ul>
<li><a href="">anchor</a></li>
<li><a href="">anchor</a></li>
<li><a href="">anchor</a></li>
{% for item in config.extra.nav %}
<li><a href="{{ item.path }}">{{ item.title }}</a></li>
{% endfor %}
</ul>
<span class="title">Title</span>
<ul>