Mercurial > libervia-templates
comparison 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 (2021-10-01) |
parents | 40fccd3b7cf0 |
children |
comparison
equal
deleted
inserted
replaced
338:a90baa4d3ed1 | 339:c5de5514a251 |
---|---|
40 <div class="blog__metadata"> | 40 <div class="blog__metadata"> |
41 {% if identities is defined %} | 41 {% if identities is defined %} |
42 {% if avatar is defined %} | 42 {% if avatar is defined %} |
43 {{ avatar.avatar(item.author_jid, "avatar--float-left") }} | 43 {{ avatar.avatar(item.author_jid, "avatar--float-left") }} |
44 {% endif %} | 44 {% endif %} |
45 <span class="blog__author">{{identities[item.author_jid].nicknames[0] if identities[item.author_jid].nicknames else item.author)}}</span> | 45 <span class="blog__author">{{identities[item.author_jid].nicknames[0] if identities[item.author_jid].nicknames else item.author}}</span> |
46 {% else %} | 46 {% else %} |
47 <span class="blog__author">{{item.author}}</span> | 47 <span class="blog__author">{{item.author}}</span> |
48 {% endif %} | 48 {% endif %} |
49 {% set published = item.published|date_fmt(fmt=dates_format) %} | 49 {% set published = item.published|date_fmt(fmt=dates_format) %} |
50 {% if item_http_uri %} | 50 {% if item_http_uri %} |