news posts now display their publish date
This commit is contained in:
parent
cb8fc3506c
commit
8f664ca861
@ -140,11 +140,16 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock content_body %}
|
{% endblock content_body %}
|
||||||
|
|
||||||
{% block content_footer %}
|
{% block content_footer %}
|
||||||
<footer class="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('/') }}/">← {{ article.category }}</a>
|
<a href="/{{ article.save_as.split('/')[:-1] | join('/') }}/">← {{ article.category }}</a>
|
||||||
|
{% endif %}
|
||||||
</footer>
|
</footer>
|
||||||
{% endblock content_footer %}
|
{% endblock content_footer %}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user