popov.link/_includes/navbar.html
Valentin Popov 50d2a17ec6
Minor changes
Signed-off-by: Valentin Popov <info@valentineus.link>
2018-04-25 02:18:49 +04:00

12 lines
432 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 | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape }}">
{{ page.title | default: "Page" | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
</a>
{% endfor %}
</nav>