diff --git a/layouts/post.erb b/layouts/post.erb index e889637c7..4c7137704 100644 --- a/layouts/post.erb +++ b/layouts/post.erb @@ -7,7 +7,7 @@ layout: default
A picture of <%= @page.title %> <% if @page.credits %> -
Image by <% if @page.credits[:url] %><%= @page.credits[:name] %><% else %><%= @page.credits[:name] %><% end %><% if @page.credits[:details] %> (<%= @page.credits[:details] %>)<% end %><% if @page.credits[:licence] %> (<%= @page.credits[:licence].upcase %>)<% end %>.
+
Image by <% if @page.credits.url %><%= @page.credits.name %><% else %><%= @page.credits.name %><% end %><% if @page.credits.details %> (<%= @page.credits.details %>)<% end %><% if @page.credits.licence %> (<%= @page.credits.licence.upcase %>)<% end %>.
<% end %>