forked from github/pelican
multiple authors implemented
This commit is contained in:
parent
57155b561a
commit
2c25e488c4
16 changed files with 122 additions and 59 deletions
|
|
@ -33,9 +33,11 @@
|
|||
{{ article.locale_modified }}
|
||||
</abbr>
|
||||
{% endif %}
|
||||
{% 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 }}/{{ author.url }}">{{ author }}</a>
|
||||
{% endfor %}
|
||||
</address>
|
||||
{% endif %}
|
||||
</footer><!-- /.post-info -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue