diff 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
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 %}