Mercurial > libervia-web
diff themes/default/static_blog.html @ 743:916075bd0356
server_side: display tags in static blogs
author | souliane <souliane@mailoo.org> |
---|---|
date | Sat, 21 Nov 2015 17:03:46 +0100 |
parents | bf562fb9c273 |
children | 6f2200d720d5 |
line wrap: on
line diff
--- a/themes/default/static_blog.html Sat Nov 21 14:34:36 2015 +0100 +++ b/themes/default/static_blog.html Sat Nov 21 17:03:46 2015 +0100 @@ -39,8 +39,15 @@ </a> {% endif %} <span class="mblog_content"> - {% if entry.message_title %} - <h1><a href="{{entry.url}}" class="item_link">{{entry.title}}</a></h1> + {% if entry.title %} + <h2><a href="{{entry.url}}" class="item_link">{{entry.title}}</a></h2> + {% endif %} + {% if entry.tags %} + <ul class="mblog_tags"> + {% for tag in entry.tags %} + <li><a>{{tag}}</a></li> + {% endfor %} + </ul> {% endif %} {{entry.content}} </span>