diff options
author | Valentin Popov <valentineus@gmail.com> | 2018-04-03 23:11:18 +0300 |
---|---|---|
committer | Valentin Popov <valentineus@gmail.com> | 2018-04-03 23:58:03 +0300 |
commit | cc6b04f37028a421fc6878e6c4bbdf5a55aeda59 (patch) | |
tree | e4bb144fd9a8bca6663558a178bfebc8de5d4a06 /_includes | |
parent | 23a8b443360dc12ea1c8da8882fbed12cc380f69 (diff) | |
download | popov.link-cc6b04f37028a421fc6878e6c4bbdf5a55aeda59.tar.xz popov.link-cc6b04f37028a421fc6878e6c4bbdf5a55aeda59.zip |
Deleted compression
Signed-off-by: Valentin Popov <valentineus@gmail.com>
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/head.html | 6 | ||||
-rw-r--r-- | _includes/sidebar.html | 22 |
2 files changed, 13 insertions, 15 deletions
diff --git a/_includes/head.html b/_includes/head.html index 3354d17..5710769 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -8,10 +8,10 @@ <title> {% if page.title == "index" %} - {{ site.title | smartify | strip_html | strip | normalize_whitespace }} + {{ site.title | smartify | strip_html | normalize_whitespace }} {% else %} - {{ page.title | smartify | strip_html | strip | normalize_whitespace }} · - {{ site.title | smartify | strip_html | strip | normalize_whitespace }} + {{ page.title | smartify | strip_html | normalize_whitespace }} · + {{ site.title | smartify | strip_html | normalize_whitespace }} {% endif %} </title> 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 %} |