forked from github/pelican
This allows for templates using {% if article.modified %}
instead of {% if article.modified != article.published %} .
21 lines
951 B
HTML
21 lines
951 B
HTML
<footer class="post-info">
|
|
<abbr class="published" title="{{ article.date.isoformat() }}">
|
|
Published: {{ article.locale_date }}
|
|
</abbr>
|
|
{% if article.modified %}
|
|
<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 -->
|