aboutsummaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-12-06 23:18:56 +0300
committerValentin Popov <info@valentineus.link>2018-12-06 23:18:56 +0300
commit3e5d059d43f60e19d95096041b7649a25d46956d (patch)
tree96779c89776ad357fad12c3b13513229e3c8a878 /_includes
parente519b8c147e491d74d09dacbe2ee5e133665a2b4 (diff)
downloadpopov.link-3e5d059d43f60e19d95096041b7649a25d46956d.tar.xz
popov.link-3e5d059d43f60e19d95096041b7649a25d46956d.zip
refactor(html): Update navigation bar
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_includes')
-rw-r--r--_includes/navbar.html32
1 files changed, 16 insertions, 16 deletions
diff --git a/_includes/navbar.html b/_includes/navbar.html
index d6d7e90..f44cff5 100644
--- a/_includes/navbar.html
+++ b/_includes/navbar.html
@@ -1,22 +1,22 @@
{% assign pages = site.pages | where: "show", true %}
<nav role="navigation">
- <div class="container">
- <ul class="nav nav-pills">
- {% unless page.url == "/index.html" %}
- <li role="presentation"><a href="/">Home</a></li>
- {% endunless %}
+ <ul class="nav-pills">
+ {% unless page.url == "/index.html" %}
+ <li role="presentation">
+ <a class="nav-link" href="/">Home</a>
+ </li>
+ {% endunless %}
- <!-- Right side -->
- <ul class="nav nav-pills pull-right">
- {% 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>
+ <!-- Right side -->
+ <ul class="nav-pills nav-right">
+ {% for page in pages %}
+ <li role="presentation">
+ <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>
+ </li>
+ {% endfor %}
+ </ul>
</ul>
- </div>
</nav>