forked from github/pelican
An author is needed, but was defaults to OS user, or 'John Doe'. If a blank author is provided, it generated authors/.html file, and templates display just "by " Updated generators.py and templates to ignore Authors objects which have a blank name
14 lines
663 B
HTML
14 lines
663 B
HTML
<footer class="post-info">
|
|
<abbr class="published" title="{{ article.date.isoformat() }}">
|
|
{{ article.locale_date }}
|
|
</abbr>
|
|
|
|
{% if article.author.name %}
|
|
<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' %}
|
|
{% include 'translations.html' %}
|
|
</footer><!-- /.post-info -->
|