1 2 3 4 5
<nav> {% for item in site.data.navigation %} <a href="{{ item.link }}" {% if page.url == item.link %}class="current"{% endif %}>{{ item.name }}</a> {% endfor %} </nav>