changeset 339:c5de5514a251

(default) blog/item: fix syntax error
author Goffi <goffi@goffi.org>
date Fri, 01 Oct 2021 16:31:15 +0200
parents a90baa4d3ed1
children 0e388a8288ae
files sat_templates/templates/default/blog/item.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat_templates/templates/default/blog/item.html	Fri Jun 18 16:08:53 2021 +0200
+++ b/sat_templates/templates/default/blog/item.html	Fri Oct 01 16:31:15 2021 +0200
@@ -42,7 +42,7 @@
                 {% if avatar is defined %}
                     {{ avatar.avatar(item.author_jid, "avatar--float-left") }}
                 {% endif %}
-                <span class="blog__author">{{identities[item.author_jid].nicknames[0] if identities[item.author_jid].nicknames else item.author)}}</span>
+                <span class="blog__author">{{identities[item.author_jid].nicknames[0] if identities[item.author_jid].nicknames else item.author}}</span>
             {% else %}
                 <span class="blog__author">{{item.author}}</span>
             {% endif %}