forked from github/pelican
Create a Author class which has a url property
This commit is contained in:
parent
f9ed01bb64
commit
ff9c786149
6 changed files with 28 additions and 30 deletions
|
|
@ -8,7 +8,7 @@
|
|||
</abbr>
|
||||
{% if article.author %}
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href="#">{{ article.author }}</a>
|
||||
By <a class="url fn" href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a>
|
||||
</address>
|
||||
{% endif %}
|
||||
</footer><!-- /.post-info -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue