comparison default/blog/item.html @ 24:2496887339f6

defaut (blog/item): use new identities object for author field
author Goffi <goffi@goffi.org>
date Tue, 23 May 2017 00:07:19 +0200
parents 8fa2fd2e928e
children 69a2e3bf5e17
comparison
equal deleted inserted replaced
23:2de729fac73b 24:2496887339f6
3 <header> 3 <header>
4 {% block header %} 4 {% block header %}
5 <div class="title">{% block blog_title %}{{ item.title_xhtml or item.title or '' }}{% endblock %}</div> 5 <div class="title">{% block blog_title %}{{ item.title_xhtml or item.title or '' }}{% endblock %}</div>
6 {% block metadata %} 6 {% block metadata %}
7 <div class="metadata"> 7 <div class="metadata">
8 <span class="author">{{item.author}}</span> 8 <span class="author">{{identities[item.author_jid].nick | default(item.author)}}</span>
9 <span class="blog_data">{{item.published | blog_date}}</span> 9 <span class="blog_data">{{item.published | blog_date}}</span>
10 </div> 10 </div>
11 11
12 {% endblock metadata %} 12 {% endblock metadata %}
13 {% endblock header %} 13 {% endblock header %}