aboutsummaryrefslogtreecommitdiff
path: root/_includes/navbar.html
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-04-25 01:15:04 +0300
committerValentin Popov <info@valentineus.link>2018-04-25 01:18:49 +0300
commit50d2a17ec6b454404b086c0b000f6c94e5eac88f (patch)
tree5c61217d92e0c429187b7cc3e78c16e466d784c7 /_includes/navbar.html
parent023d6ce03d89b37b5bdbf628f66b0c72e348c23a (diff)
downloadpopov.link-50d2a17ec6b454404b086c0b000f6c94e5eac88f.tar.xz
popov.link-50d2a17ec6b454404b086c0b000f6c94e5eac88f.zip
Minor changes
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_includes/navbar.html')
-rw-r--r--_includes/navbar.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/_includes/navbar.html b/_includes/navbar.html
index 7c0c8c4..c5d1de8 100644
--- a/_includes/navbar.html
+++ b/_includes/navbar.html
@@ -4,8 +4,8 @@
<a href="{{ site.url | uri_escape }}">Home</a>
{% for page in pages %}
- <a href="{{ page.url | relative_url | uri_escape }}">
- {{ page.title | default: "Page" | strip_newlines | strip_html | strip | normalize_whitespace | smartify | capitalize }}
+ <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>