myFirstSite/_includes/navigation.html

6 lines
176 B
HTML
Raw Normal View History

2023-11-26 21:31:37 +00:00
<nav>
{% for item in site.data.navigation %}
<a href="{{ item.link }}" {% if page.url == item.link %}class="current"{% endif %}>{{ item.name }}</a>
{% endfor %}
</nav>