popov.link/_includes/navbar.html

12 lines
432 B
HTML
Raw Normal View History

2018-04-18 00:00:42 +03:00
{% assign pages = site.pages | where: "show", true %}
2018-04-18 00:00:42 +03:00
<nav class="navigation">
<a href="{{ site.url | uri_escape }}">Home</a>
2018-04-18 00:00:42 +03:00
{% 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 }}
2018-04-18 00:00:42 +03:00
</a>
{% endfor %}
</nav>