aboutsummaryrefslogtreecommitdiff
path: root/_includes/navbar.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/navbar.html')
-rw-r--r--_includes/navbar.html21
1 files changed, 13 insertions, 8 deletions
diff --git a/_includes/navbar.html b/_includes/navbar.html
index c5d1de8..752be0a 100644
--- a/_includes/navbar.html
+++ b/_includes/navbar.html
@@ -1,11 +1,16 @@
{% 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 | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape }}">
- {{ page.title | default: "Page" | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
- </a>
- {% endfor %}
+<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>