0
mirror of https://github.com/valentineus/popov.link.git synced 2025-07-02 23:50:27 +03:00

Navigation bar

This commit is contained in:
2018-04-18 01:00:42 +04:00
parent 09083fa736
commit af7ce99b07

9
_includes/navbar.html Normal file
View File

@ -0,0 +1,9 @@
{% 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>