diff options
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/navbar.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/_includes/navbar.html b/_includes/navbar.html index d334f96..7c0c8c4 100644 --- a/_includes/navbar.html +++ b/_includes/navbar.html @@ -1,9 +1,11 @@ {% 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 }} + {{ page.title | default: "Page" | strip_newlines | strip_html | strip | normalize_whitespace | smartify | capitalize }} </a> {% endfor %} </nav> |