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/static/icon/email.svg5
-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
6 files changed, 10 insertions, 7 deletions
diff --git a/src/themes/serene/static/icon/email.svg b/src/themes/serene/static/icon/email.svg
index 1593667..0c64d95 100644
--- a/src/themes/serene/static/icon/email.svg
+++ b/src/themes/serene/static/icon/email.svg
@@ -1 +1,4 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="18" height="18"><path d="M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM20 7.23792L12.0718 14.338L4 7.21594V19H20V7.23792ZM4.51146 5L12.0619 11.662L19.501 5H4.51146Z" fill="currentColor"></path></svg>
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="18" height="18">
+    <path d="M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM20 7.23792L12.0718 14.338L4 7.21594V19H20V7.23792ZM4.51146 5L12.0619 11.662L19.501 5H4.51146Z" fill="currentColor">
+    </path>
+</svg>
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>