aboutsummaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-05-15 02:55:04 +0300
committerValentin Popov <info@valentineus.link>2018-05-15 02:55:04 +0300
commit622259ab70abc5860495d7df23d7bdbfcc9e0b78 (patch)
tree8b90ef7784c0b57cab076b29b8c90f58b55a3a65 /_includes
parent08f0f5d5289685a8385ffd06bc774aefc4f17134 (diff)
downloadpopov.link-622259ab70abc5860495d7df23d7bdbfcc9e0b78.tar.xz
popov.link-622259ab70abc5860495d7df23d7bdbfcc9e0b78.zip
Redesigned navbar
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_includes')
-rw-r--r--_includes/navbar.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/_includes/navbar.html b/_includes/navbar.html
index 5722345..2ac1006 100644
--- a/_includes/navbar.html
+++ b/_includes/navbar.html
@@ -18,7 +18,19 @@
<!-- List of pages -->
<div class="collapse navbar-collapse" id="navbar">
+ <!-- Left side -->
<ul class="nav navbar-nav">
+ {% for link in site.data.local_links %}
+ <li>
+ <a href="{{ link.path | strip_newlines | strip_html | strip | normalize_whitespace | uri_escape }}">
+ {{ link.name | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
+ </a>
+ </li>
+ {% endfor %}
+ </ul>
+
+ <!-- Right side -->
+ <ul class="nav navbar-nav navbar-right">
{% for page in pages %}
<li>
<a href="{{ page.url | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape }}">