popov.link/_includes/navbar.html
2018-04-18 01:00:42 +04:00

10 lines
338 B
HTML

{% assign pages = site.pages | where: "show", true %}
<nav class="navigation">
<a href="{{ site.url | uri_escape }}">Home</a>
{% for page in pages %}
<a href="{{ page.url | relative_url | uri_escape }}">
{{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}
</a>
{% endfor %}
</nav>