From 15d0b3473111fac7ced38e38c8e19433d493504a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sun, 29 Dec 2019 20:07:24 +0100 Subject: [PATCH] templates: display publication time --- chloro/phyll/static/css/style.scss | 4 ++++ chloro/phyll/templates/phyll/note_detail.html | 2 ++ 2 files changed, 6 insertions(+) diff --git a/chloro/phyll/static/css/style.scss b/chloro/phyll/static/css/style.scss index 3c78e42..b46a441 100644 --- a/chloro/phyll/static/css/style.scss +++ b/chloro/phyll/static/css/style.scss @@ -89,6 +89,10 @@ main { padding: 3px; } } + div.meta { + margin-top: 3em; + color: lighten($text-color, 40%); + } } .post-list { diff --git a/chloro/phyll/templates/phyll/note_detail.html b/chloro/phyll/templates/phyll/note_detail.html index 425ee2d..4c919c2 100644 --- a/chloro/phyll/templates/phyll/note_detail.html +++ b/chloro/phyll/templates/phyll/note_detail.html @@ -7,6 +7,8 @@

{{ object.title }}

{{ object.text|safe }}
+ +
{{ object.creation_timestamp|date:"j E Y, H:i"|lower }}
{% endblock %} -- 2.39.2