comparison 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
comparison
equal deleted inserted replaced
830:a825700c01e4 831:25931797db20
43 <h2><a href="{{entry.url}}" class="item_link">{{entry.title}}</a></h2> 43 <h2><a href="{{entry.url}}" class="item_link">{{entry.title}}</a></h2>
44 {% endif %} 44 {% endif %}
45 {% if entry.tags %} 45 {% if entry.tags %}
46 <ul class="mblog_tags"> 46 <ul class="mblog_tags">
47 {% for tag in entry.tags %} 47 {% for tag in entry.tags %}
48 <li><a>{{tag}}</a></li> 48 <li><a href="{{base_url}}?tag={{tag}}">{{tag}}</a></li>
49 {% endfor %} 49 {% endfor %}
50 </ul> 50 </ul>
51 {% endif %} 51 {% endif %}
52 {{entry.content}} 52 {{entry.content}}
53 </span> 53 </span>