news posts now display their publish date

This commit is contained in:
eclipse 2025-03-25 11:57:01 +01:00
parent cb8fc3506c
commit 8f664ca861

View File

@ -140,11 +140,16 @@
{% endif %}
</div>
</div>
{% endblock content_body %}
{% block content_footer %}
<footer class="content-footer">
{% if article.category == 'Neues' %}
veröffentlicht am {{ article.date | strftime("%d.%m.%y") }}
{% else %}
<a href="/{{ article.save_as.split('/')[:-1] | join('/') }}/">&larr; {{ article.category }}</a>
{% endif %}
</footer>
{% endblock content_footer %}