Skip to content

Commit

Permalink
Link stories by author via author name
Browse files Browse the repository at this point in the history
Close #20
  • Loading branch information
shaunagm committed Jun 4, 2014
1 parent c0c789b commit ef46953
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions themes/pelican-elegant/templates/article.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,11 @@ <h4>Contents</h4>
</div>
<section>
<div class="span2" style="float:right;font-size:0.9em;">
{% if article.author %}
{% if article.author %}
<h4>Submitted By</h4>
{{ article.author }}
{% endif %}
<a href="{{ SITEURL }}/{{ article.author.url }}" rel="author">{{ article.author }}</a>
{% endif %}

{% if article.date %}
<h4>Published</h4>
{% set day = article.date.strftime('%d')|int %}
Expand Down

0 comments on commit ef46953

Please sign in to comment.