Fix author output

This commit is contained in:
Stefan Schlott 2013-08-27 09:15:15 +02:00
parent 11bd412200
commit 49702d5574
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@
<p>
<ul class="unstyled inline">
<li><i class="icon-calendar"></i> <time itemprop="dateCreated" datetime="<%= @item[:created_at].strftime("%Y-%m-%d") %>"><%= @item[:created_at].strftime("%d.%m.%Y") %></time></li>
<% if @item[:author] %><li><i class="icon-pencil"></i> @item[:author]</li><% end %>
<% if @item[:author] %><li><i class="icon-pencil"></i> <%= @item[:author] %></li><% end %>
<% if @item[:refers_to] %><li><i class="icon-cogs"></i> <a href="<%= @items[sanitize_path(@item[:refers_to])].path() %>"><%= @items[sanitize_path(@item[:refers_to])][:title] %></a></li><% end %>
<li><i class="icon-bookmark"></i> <a itemprop="url" href="<%= item.path() %>">Permalink</a></li>
</ul>