diff options
-rw-r--r-- | _includes/navbar.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/_includes/navbar.html b/_includes/navbar.html new file mode 100644 index 0000000..d334f96 --- /dev/null +++ b/_includes/navbar.html @@ -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> |