1
1
freepoteries-doc/theme/templates/metadata.inc.html
2019-08-17 19:12:14 +02:00

12 lines
687 B
HTML

<div class="metadata">
<time datetime="{{ article.date.isoformat() }}">{{ article.locale_date }}</time>
{% if article.author %}
<address class="vcard author">
by <a class="url fn" href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a>
</address>
{% endif %}
in <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
{% if article.tags %}<p class="tags">tagged {% for tag in article.tags %}<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>{% if not loop.last%}, {% endif %}{% endfor %}</p>{% endif %}
{% if PDF_PROCEESOR %}<p><a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">Download the .pdf</a></p>{% endif %}
</div>