mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
publication time and date and the last modified time and date
independently.
This makes it possible to access the last updated date with {{ article.locale_modified }} in templates.
Additionally, an already delivered feed entry can be corrected by changing the modified date and time, as it is used for atom:update
/ rss pubDate field now.
21 lines
967 B
HTML
21 lines
967 B
HTML
<footer class="post-info">
|
|
<abbr class="published" title="{{ article.date.isoformat() }}">
|
|
Published: {{ article.locale_date }}
|
|
</abbr>
|
|
{% if article.modified != article.date %}
|
|
<br />
|
|
<abbr class="modified" title="{{ article.modified.isoformat() }}">
|
|
Updated: {{ article.locale_modified }}
|
|
</abbr>
|
|
{% endif %}
|
|
|
|
{% if article.author %}
|
|
<address class="vcard author">
|
|
By <a class="url fn" href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a>
|
|
</address>
|
|
{% endif %}
|
|
<p>In <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>. {% if PDF_PROCESSOR %}<a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">get the pdf</a>{% endif %}</p>
|
|
{% include 'taglist.html' %}
|
|
{% import 'translations.html' as translations with context %}
|
|
{{ translations.translations_for(article) }}
|
|
</footer><!-- /.post-info -->
|