aboutsummaryrefslogtreecommitdiff
path: root/_includes/navbar.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/navbar.html')
-rw-r--r--_includes/navbar.html35
1 files changed, 12 insertions, 23 deletions
diff --git a/_includes/navbar.html b/_includes/navbar.html
index acf5e0c..bac694d 100644
--- a/_includes/navbar.html
+++ b/_includes/navbar.html
@@ -1,26 +1,15 @@
{% assign pages = site.pages | where: "show", true %}
-<nav role="navigation">
- <ul class="nav-pills">
- {% unless page.url == "/index.html" %}
- <li role="presentation">
- <strong>
- <a class="nav-link" href="/">Home</a>
- </strong>
- </li>
- {% endunless %}
+<div class="navigation-container">
+ <input id="toggle-button" class="toggle-button" type="checkbox" />
- <!-- Right side -->
- <ul class="nav-pills nav-right">
- {% for page in pages %}
- <li role="presentation">
- <strong>
- <a class="nav-link" 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>
- </strong>
- </li>
- {% endfor %}
- </ul>
- </ul>
-</nav>
+ <label class="toggle-label" for="toggle-button">
+ <span></span>
+ <span></span>
+ <span></span>
+ </label>
+
+ <nav class="navigation" role="navigation">
+ <ul class="navigation-pills"></ul>
+ </nav>
+</div>