summary refs log tree commit diff stats
path: root/src/themes
diff options
context:
space:
mode:
Diffstat (limited to 'src/themes')
-rw-r--r--src/themes/serene/templates/blog.html4
-rw-r--r--src/themes/serene/templates/home.html2
-rw-r--r--src/themes/serene/templates/post.html2
-rw-r--r--src/themes/serene/templates/tags/list.html2
-rw-r--r--src/themes/serene/templates/tags/single.html2
5 files changed, 6 insertions, 6 deletions
diff --git a/src/themes/serene/templates/blog.html b/src/themes/serene/templates/blog.html
index c654e86..2519d28 100644
--- a/src/themes/serene/templates/blog.html
+++ b/src/themes/serene/templates/blog.html
@@ -27,7 +27,7 @@
     <h2 class="category">{{ category_name }}</h2>
     <div class="post-list categorized">
       {% for post in posts %}
-      <a class="post instant {% if post.extra.featured %}featured{% endif %}" href="{{ post.permalink }}">
+      <a class="post instant {% if post.extra.featured %}featured{% endif %}" href="{{ post.permalink | safe }}">
         <span>{{ post.title }}</span>
         <span class="date">{{ post.date | date(format=section.extra.date_format) }}</span>
       </a>
@@ -37,7 +37,7 @@
     {% else %}
     <div class="post-list">
       {% for post in section.pages %}
-      <a class="post instant {% if post.extra.featured %}featured{% endif %}" href="{{ post.permalink }}">
+      <a class="post instant {% if post.extra.featured %}featured{% endif %}" href="{{ post.permalink | safe }}">
         <span>{{ post.title }}</span>
         <span class="date">{{ post.date | date(format=section.extra.date_format) }}</span>
       </a>
diff --git a/src/themes/serene/templates/home.html b/src/themes/serene/templates/home.html
index 6f4c3ac..f899884 100644
--- a/src/themes/serene/templates/home.html
+++ b/src/themes/serene/templates/home.html
@@ -89,7 +89,7 @@
     <section class="layout-list">
       <div class="post-list">
         {% for post in blog_section.pages | slice(end=section.extra.recent_max) %}
-        <a class="post instant {% if post.extra.featured %}featured{% endif %}" href="{{ post.permalink }}">
+        <a class="post instant {% if post.extra.featured %}featured{% endif %}" href="{{ post.permalink | safe }}">
           <span>{{ post.title }}</span>
           <span class="line"></span>
           <span class="date">{{ post.date | date(format=section.extra.date_format) }}</span>
diff --git a/src/themes/serene/templates/post.html b/src/themes/serene/templates/post.html
index f31810a..24fe0cd 100644
--- a/src/themes/serene/templates/post.html
+++ b/src/themes/serene/templates/post.html
@@ -103,7 +103,7 @@
           <div id="tags">
             {% for tag in page.taxonomies.tags -%}
             {% set tag_slugify = tag | slugify -%}
-            <a class="instant" href="{{ config.base_url ~ '/tags/' ~ tag_slugify }}"><span>#</span>{{ tag }}</a>
+            <a class="instant" href="{{ config.base_url ~ '/tags/' ~ tag_slugify | safe }}"><span>#</span>{{ tag }}</a>
             {%- endfor %}
           </div>
           {% endif %}
diff --git a/src/themes/serene/templates/tags/list.html b/src/themes/serene/templates/tags/list.html
index ff41838..bde1123 100644
--- a/src/themes/serene/templates/tags/list.html
+++ b/src/themes/serene/templates/tags/list.html
@@ -20,7 +20,7 @@
     <h1 class="title">Tags</h1>
     <div class="tags">
       {% for tag in terms -%}
-      <a class="instant" href="{{ tag.permalink }}"># {{ tag.name | lower }}</a>
+      <a class="instant" href="{{ tag.permalink | safe }}"># {{ tag.name | lower }}</a>
       {% endfor %}
     </div>
   </main>
diff --git a/src/themes/serene/templates/tags/single.html b/src/themes/serene/templates/tags/single.html
index f8b9fc4..1ce059a 100644
--- a/src/themes/serene/templates/tags/single.html
+++ b/src/themes/serene/templates/tags/single.html
@@ -22,7 +22,7 @@
     </div>
     <div class="post-list">
       {% for post in term.pages %}
-      <a class="post instant {% if post.extra.featured %}featured{% endif %}" href="{{ post.permalink }}">
+      <a class="post instant {% if post.extra.featured %}featured{% endif %}" href="{{ post.permalink | safe }}">
         <span>{{ post.title }}</span>
         <span class="date">{{ post.date | date(format=section.extra.date_format) }}</span>
       </a>