Skip to content

Commit

Permalink
Display author in article view
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunagm committed May 30, 2014
1 parent 8dcc8f1 commit eba634b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions themes/pelican-elegant/templates/article.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ <h4>Contents</h4>
</div>
<section>
<div class="span2" style="float:right;font-size:0.9em;">
{% if article.author %}
<h4>Submitted By</h4>
{{ article.author }}
{% endif %}
{% if article.date %}
<h4>Published</h4>
{% set day = article.date.strftime('%d')|int %}
Expand Down

0 comments on commit eba634b

Please sign in to comment.