From f28d9f01bed846c25a6a0d9844df6ae9fe79c586 Mon Sep 17 00:00:00 2001 From: Trevor Elliott Date: Thu, 20 Sep 2018 23:44:40 -0700 Subject: [PATCH] Add `safe` to url outputs --- templates/categories/list.html | 2 +- templates/index.html | 6 +++--- templates/page.html | 4 ++-- templates/post_macros.html | 4 ++-- templates/tags/list.html | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/templates/categories/list.html b/templates/categories/list.html index dcf20b6..abca217 100644 --- a/templates/categories/list.html +++ b/templates/categories/list.html @@ -11,7 +11,7 @@ diff --git a/templates/index.html b/templates/index.html index 70abd66..13be407 100644 --- a/templates/index.html +++ b/templates/index.html @@ -12,11 +12,11 @@ {% block title %}{{ config.title }}{% endblock title %} {% if config.generate_rss %} - + {% endif %} {% block css %} - + {% endblock css %} {% block extra_head %} @@ -32,7 +32,7 @@ {% for item in config.extra.after_dark_menu %} {% endfor %} diff --git a/templates/page.html b/templates/page.html index 69df9c8..eebc678 100644 --- a/templates/page.html +++ b/templates/page.html @@ -21,12 +21,12 @@ {% endif %} {% if page.taxonomies.categories %} {% set category = page.taxonomies.categories[0] %} - in {{ category }} + in {{ category }} {% endif %} {% if page.taxonomies.tags %} and tagged {% for tag in page.taxonomies.tags %} - {{ tag }} + {{ tag }} {% if page.taxonomies.tags | length > 1 %} {% if loop.index != page.taxonomies.tags | length %} {% if loop.index == page.taxonomies.tags | length - 1 %} diff --git a/templates/post_macros.html b/templates/post_macros.html index e5b42bf..db23ee8 100644 --- a/templates/post_macros.html +++ b/templates/post_macros.html @@ -19,14 +19,14 @@

- {{ page.title }} + {{ page.title }}

{{ self::meta(page=page) }}
{% if page.summary %}
{{ page.summary | safe }} - +
{% endif %}
diff --git a/templates/tags/list.html b/templates/tags/list.html index f5f9ee5..f3f7840 100644 --- a/templates/tags/list.html +++ b/templates/tags/list.html @@ -10,7 +10,7 @@ {% if terms %} {% endif %}