diff themes/default/static_blog.html @ 831:25931797db20

server (blog/themes): sanitize tags + display tags URLs
author souliane <souliane@mailoo.org>
date Sat, 09 Jan 2016 13:00:31 +0100
parents 2819e4241e78
children 3eb26b269539
line wrap: on
line diff
--- a/themes/default/static_blog.html	Sat Jan 09 12:14:39 2016 +0100
+++ b/themes/default/static_blog.html	Sat Jan 09 13:00:31 2016 +0100
@@ -45,7 +45,7 @@
             {% if entry.tags %}
                 <ul class="mblog_tags">
                 {% for tag in entry.tags %}
-                    <li><a>{{tag}}</a></li>
+                    <li><a href="{{base_url}}?tag={{tag}}">{{tag}}</a></li>
                 {% endfor %}
                 </ul>
             {% endif %}