From: Frédéric Péters Date: Sun, 29 Dec 2019 19:07:24 +0000 (+0100) Subject: templates: display publication time X-Git-Tag: v2022~48 X-Git-Url: https://git.0d.be/?p=chloro.git;a=commitdiff_plain;h=15d0b3473111fac7ced38e38c8e19433d493504a templates: display publication time --- 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 %}