aboutsummaryrefslogtreecommitdiff
path: root/_includes/sidebar.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/sidebar.html')
-rw-r--r--_includes/sidebar.html22
1 files changed, 10 insertions, 12 deletions
diff --git a/_includes/sidebar.html b/_includes/sidebar.html
index a5b83c9..34461b9 100644
--- a/_includes/sidebar.html
+++ b/_includes/sidebar.html
@@ -2,22 +2,20 @@
<div class="container sidebar-sticky">
<div class="sidebar-about">
<!-- Header -->
- <h1>
- <a href="{{ site.baseurl | uri_escape }}">
- {% if page.title == "index" %}
- {{ site.title | smartify | strip_html | strip | normalize_whitespace }}
- {% else %}
- {{ page.title | smartify | strip_html | strip | normalize_whitespace }}
- {% endif %}
- </a>
- </h1>
+ <a href="{{ site.baseurl | uri_escape }}">
+ {% if page.title == "index" %}
+ <h1>{{ site.title | smartify | strip_html | normalize_whitespace }}</h1>
+ {% else %}
+ <h1>{{ page.title | smartify | strip_html | normalize_whitespace }}</h1>
+ {% endif %}
+ </a>
<!-- Description -->
<p class="lead">
{% if page.title == "index" %}
- {{ site.description | smartify | strip_html | strip_newlines | strip | normalize_whitespace }}
+ {{ site.description | smartify | strip_html | normalize_whitespace }}
{% else %}
- {{ page.description | smartify | strip_html | strip_newlines | strip | normalize_whitespace }}
+ {{ page.description | smartify | strip_html | normalize_whitespace }}
{% endif %}
</p>
</div>
@@ -28,7 +26,7 @@
{% for node in site.pages %}
{% if node.sidebar == true %}
<a class="sidebar-nav-item {% if page.url == node.url %}active{% endif %}" href="{{ node.url | relative_url | uri_escape }}">
- {{ node.title | smartify | strip_html | strip | normalize_whitespace }}
+ {{ node.title | smartify | strip_html | normalize_whitespace }}
</a>
{% endif %}
{% endfor %}