comparison sat_templates/templates/bulma/blog/item.html @ 353:ddcdc0475940

(bulma) blog/item: `published` timestamp now links to the item
author Goffi <goffi@goffi.org>
date Tue, 22 Mar 2022 16:55:23 +0100
parents e982a05d43b1
children
comparison
equal deleted inserted replaced
352:cbf42e38adc1 353:ddcdc0475940
41 {% if Identities is defined %} 41 {% if Identities is defined %}
42 <strong>{{identities[item.author_jid].nicknames[0] if identities[item.author_jid].nicknames else item.author}}</strong> 42 <strong>{{identities[item.author_jid].nicknames[0] if identities[item.author_jid].nicknames else item.author}}</strong>
43 {% else %} 43 {% else %}
44 <strong>{{item.author}}</strong> 44 <strong>{{item.author}}</strong>
45 {% endif %} 45 {% endif %}
46 <small>{{published}}</small> 46 {% if item_http_uri %}
47 <small><a href="{{item_http_uri}}" class="has-text-black">{{published}}</a></small>
48 {% else %}
49 <small>{{published}}</small>
50 {% endif %}
47 {% if item.tags %} 51 {% if item.tags %}
48 <small class="labels"> 52 <small class="labels">
49 {% if tags_http_uri is defined %} 53 {% if tags_http_uri is defined %}
50 {% for tag in item.tags %} 54 {% for tag in item.tags %}
51 <a href="{{tags_http_uri[tag]}}"><span class="tag is-rounded">{{tag}}</span></a> 55 <a href="{{tags_http_uri[tag]}}"><span class="tag is-rounded">{{tag}}</span></a>