From 1e013d81e48858d01b563c76cc36de25c123d0ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Romanowski?= Date: Wed, 3 Apr 2019 19:21:19 +0200 Subject: [PATCH] Fix URL escapes in hrefs --- templates/index.html | 8 ++++---- templates/macros/post.html | 12 ++++++------ templates/tags/list.html | 4 ++-- templates/tags/single.html | 4 ++-- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/templates/index.html b/templates/index.html index ad781e1..3d87910 100644 --- a/templates/index.html +++ b/templates/index.html @@ -11,11 +11,11 @@ {{ head_macros::head(config=config) }} {%- if config.generate_rss %} - + {% endif -%} {%- if config.extra.favicon %} - + {% endif -%} {%- block extra_head %} @@ -68,7 +68,7 @@
{%- if paginator.previous %} - +   Newer posts @@ -76,7 +76,7 @@ {% endif -%} {%- if paginator.next %} - + Older posts  diff --git a/templates/macros/post.html b/templates/macros/post.html index 9330ab9..892a2ba 100644 --- a/templates/macros/post.html +++ b/templates/macros/post.html @@ -5,7 +5,7 @@
- + Read more  ↩︎ @@ -37,7 +37,7 @@
{%- if page.later %} - +   {{ page.later.title }} @@ -45,7 +45,7 @@ {% endif %} {% if page.earlier %} - + {{ page.earlier.title }}  @@ -58,7 +58,7 @@ {% macro header(page) %} -

{{ page.title }}

+

{{ page.title }}

@@ -74,7 +74,7 @@ {% continue %} {% endif -%}
  • - + :: {{ page.title }} {{ post_macros::tags(page=page, short=true) }} @@ -95,7 +95,7 @@ {%- set sep = " " -%} {% endif -%} {%- for tag in page.taxonomies.tags %} - + {%- if not loop.last %}{{ sep | safe }}{% endif -%} {% endfor -%} diff --git a/templates/tags/list.html b/templates/tags/list.html index d28dd4c..0d2e6bf 100644 --- a/templates/tags/list.html +++ b/templates/tags/list.html @@ -7,11 +7,11 @@
  • -{% endblock content %} \ No newline at end of file +{% endblock content %} diff --git a/templates/tags/single.html b/templates/tags/single.html index 03c7f16..7895912 100644 --- a/templates/tags/single.html +++ b/templates/tags/single.html @@ -7,10 +7,10 @@ ({{ term.pages | length }} post{{ term.pages | length | pluralize }}) - + Show all tags {{ post_macros::list_posts(pages=term.pages) }}
    -{% endblock content %} \ No newline at end of file +{% endblock content %}