Skip to content

Commit

Permalink
Fix author names display in blog single-post view.
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusv committed Jun 2, 2015
1 parent add818c commit 6a582e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/blog.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<% render 'default' do %>
<div class="col-md-9 blog doc-content">
<h1><%= item[:title] %></h1>
<aside>Posted at: <%= get_pretty_date(item) %> by <%= item[:author]%></aside>
<aside>Posted at: <%= get_pretty_date(item) %> by <%= item[:author_name]%></aside>
<article class="doc-content">
<%= yield %>
<article>
Expand Down

0 comments on commit 6a582e5

Please sign in to comment.