Mercurial > libervia-templates
diff sat_templates/templates/default/blog/item.html @ 339:c5de5514a251
(default) blog/item: fix syntax error
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 01 Oct 2021 16:31:15 +0200 |
parents | 40fccd3b7cf0 |
children |
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 %}