popov.link/_includes/navbar.html

10 lines
338 B
HTML
Raw Normal View History

2018-04-18 00:00:42 +03:00
{% 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>