Skip to content

Commit

Permalink
add author name to single post view, #3
Browse files Browse the repository at this point in the history
  • Loading branch information
ikkez committed Jan 15, 2015
1 parent 3f65b7d commit a5df14a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ui/templates/post_single.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ <h1>{{@content.title | esc}}</h1>
</div>
<p>
<span class="meta date"><i class="glyphicon glyphicon-calendar"></i> {{date('d.m.Y',strtotime(@content.publish_date))}}</span>
<F3:check if="{{ @content.author }}">
<span class="meta"><i class="glyphicon glyphicon-user"></i> {{@content.author.name}}</span>
</F3:check>
<F3:check if="{{ @content.tags }}">
<span class="meta tags"><i class="glyphicon glyphicon-tag"></i>
<F3:repeat group="{{ @content.tags }}" value="{{ @tag }}">
Expand Down

0 comments on commit a5df14a

Please sign in to comment.