Mercurial > libervia-templates
changeset 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 (2022-03-22) |
parents | cbf42e38adc1 |
children | cac1a96f3df8 |
files | sat_templates/templates/bulma/blog/item.html |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sat_templates/templates/bulma/blog/item.html Tue Nov 30 23:27:45 2021 +0100 +++ b/sat_templates/templates/bulma/blog/item.html Tue Mar 22 16:55:23 2022 +0100 @@ -43,7 +43,11 @@ {% else %} <strong>{{item.author}}</strong> {% endif %} - <small>{{published}}</small> + {% if item_http_uri %} + <small><a href="{{item_http_uri}}" class="has-text-black">{{published}}</a></small> + {% else %} + <small>{{published}}</small> + {% endif %} {% if item.tags %} <small class="labels"> {% if tags_http_uri is defined %}