popov.link/_includes/navbar.html
Valentin Popov 035b1840d6
Minimalistic navigation bar
Signed-off-by: Valentin Popov <info@valentineus.link>
2018-05-15 15:01:41 +04:00

17 lines
579 B
HTML

{% assign pages = site.pages | where: "show", true %}
<nav role="navigation">
<div class="container">
<ul class="nav nav-pills pull-right">
<li role="presentation"><a href="/">Home</a></li>
{% for page in pages %}
<li role="presentation">
<a href="{{ page.url | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape }}">
{{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
</a>
</li>
{% endfor %}
</ul>
</div>
</nav>