manbytesgnu_site

Source files for manbytesgnu.org
git clone git://holbrook.no/manbytesgnu_site.git
Info | Log | Files | Refs

commit b3dfbf18cbe84c2dc8a49eac26549a4795341ab3
parent 60570338783f0fe6056842d590f56b5b60b1c9b0
Author: lash <dev@holbrook.no>
Date:   Thu, 27 Jun 2024 19:49:53 +0100

Add modified date to article header

Diffstat:
Mlash/templates/article.html | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/lash/templates/article.html b/lash/templates/article.html @@ -23,6 +23,7 @@ <time class="published" datetime="{{ article.date.isoformat() }}"> {{ article.locale_date }} </time> + {% if article.modified %}{% if article.modified|string != article.date|string %} (last modified {{ article.locale_modified }}) {% endif %}{% endif %} in <a class="category" href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category|lower() }}</a> {% for tag in article.tags %} <a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>