1
0
Fork 0
forked from github/pelican

add multiple authors

This commit is contained in:
Alexis Métaireau 2013-07-05 01:08:45 +02:00
commit 0550c6ef29
51 changed files with 154 additions and 175 deletions

View file

@ -3,9 +3,9 @@
{{ article.locale_date }}
</abbr>
{% if article.author %}
{% if article.authors %}
<address class="vcard author">
By <a class="url fn" href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a>
By {% for author in article.authors %} <a class="url fn" href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a> {% endfor %}
</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>