about summary refs log tree commit diff stats
path: root/themes/bear/templates/section.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/bear/templates/section.html')
-rw-r--r--themes/bear/templates/section.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/bear/templates/section.html b/themes/bear/templates/section.html
index f7567f2..c7f80de 100644
--- a/themes/bear/templates/section.html
+++ b/themes/bear/templates/section.html
@@ -16,7 +16,7 @@
               {{ page.date | date(format=config.extra.date_format) }}
             </time>
           </span>
-          <a href="{{ page.permalink }}">{{ page.title }}</a>
+          <a href="{{ page.path | urlencode | safe }}">{{ page.title }}</a>
         </li>
         {% else %}
         <li>
@@ -28,7 +28,7 @@
       <div>
         {% set tags = get_taxonomy(kind="tags") %}
         {% for post in tags.items %}
-          <a href="{{ post.permalink }}">#{{ post.name }}</a>&nbsp;
+          <a href="{{ post.path | urlencode | safe }}">#{{ post.name }}</a>
         {% endfor %}
       </div>
     </small>