Navigation bar
This commit is contained in:
parent
09083fa736
commit
af7ce99b07
9
_includes/navbar.html
Normal file
9
_includes/navbar.html
Normal 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>
|
Loading…
Reference in New Issue
Block a user