aboutsummaryrefslogtreecommitdiff
path: root/_includes/navbar.html
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-02-14 10:38:24 +0300
committerValentin Popov <valentin@popov.link>2024-02-14 10:38:24 +0300
commita3a95d7a9b020f9aeb66e17cab16e957f5a7cb5e (patch)
treed7ce3ba4bb4f30f6d592cf12e33b6a6331d843d2 /_includes/navbar.html
parent2db390219832103ecbece1188c1964a4539e9020 (diff)
downloadpopov.link-a3a95d7a9b020f9aeb66e17cab16e957f5a7cb5e.tar.xz
popov.link-a3a95d7a9b020f9aeb66e17cab16e957f5a7cb5e.zip
Added space management
Diffstat (limited to '_includes/navbar.html')
-rw-r--r--_includes/navbar.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/_includes/navbar.html b/_includes/navbar.html
index 431b268..f2780ad 100644
--- a/_includes/navbar.html
+++ b/_includes/navbar.html
@@ -1,10 +1,10 @@
<nav>
- {% for link in site.data.navbar %}
- <a href="{{ link.path | relative_url | uri_escape }}">{{ link.title | strip | normalize_whitespace | xml_escape }}</a>
- {% endfor %}
+ {%- for link in site.data.navbar -%}
+ <a href="{{- link.path | relative_url | uri_escape -}}">{{- link.title | strip | normalize_whitespace | xml_escape -}}</a>
+ {%- endfor -%}
<span>
<span>|</span>
- <a href="{{ site.rss | absolute_url | uri_escape }}">RSS</a>
+ <a href="{{- site.rss | absolute_url | uri_escape -}}">RSS</a>
</span>
</nav> \ No newline at end of file