forked from github/pelican
add multiple authors
This commit is contained in:
parent
7ec4d5faa2
commit
0550c6ef29
51 changed files with 154 additions and 175 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue