From 37cfd0faa62df1bc5878433a235b388758707dba Mon Sep 17 00:00:00 2001 From: Stefan Schlott Date: Sat, 24 Aug 2013 16:31:11 +0200 Subject: [PATCH] Fix icon/metadata list in article body --- layouts/article_body.html | 10 ++++++---- layouts/item_intro.erb | 1 + 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/layouts/article_body.html b/layouts/article_body.html index bb560de6..5505b478 100644 --- a/layouts/article_body.html +++ b/layouts/article_body.html @@ -7,10 +7,12 @@
<%= item[:subtitle] %> <% end %>

- - <% if @item[:author] %>- @item[:author]<% end %> - <% if @item[:refers_to] %>- <%= @items[sanitize_path(@item[:refers_to])][:title] %><% end %> - - +

diff --git a/layouts/item_intro.erb b/layouts/item_intro.erb index 7d5047d5..75a07124 100644 --- a/layouts/item_intro.erb +++ b/layouts/item_intro.erb @@ -11,6 +11,7 @@ <% if @item[:author] %>
  • @item[:author]
  • <% end %> <% if @item[:refers_to] %>
  • <%= @items[sanitize_path(@item[:refers_to])][:title] %>
  • <% end %>
  • + <% end %>