diff --git a/layouts/default.erb b/layouts/default.erb index 2a5b0de0a..3c653afab 100644 --- a/layouts/default.erb +++ b/layouts/default.erb @@ -1,28 +1,28 @@ - Uses This<% if @page %> / <%= @page.title %><% elsif @post %> / <%= @post.title %><% end %><% if @pagination && @pagination[:current_page] > 1 %> (Page <%= @pagination[:current_page] %>)<% end %> + Uses This<% if @page %> / <%= @page.title %><% end %><% if @pagination && @pagination.current_page > 1 %> (Page <%= @pagination.current_page %>)<% end %> <% if @pagination %> - <% if @pagination[:urls][:previous_page] %><% end %> - <% if @pagination[:urls][:next_page] %><% end %> + <% if @pagination.urls[:previous_page] %><% end %> + <% if @pagination.urls[:next_page] %><% end %> <% end %> - - <% if @post %> - - + + <% if @page.slug %> + + - - <% @post.categories.each do |category| %> + + <% @page.categories.each do |category| %> <% end %> - + @@ -31,7 +31,7 @@

Uses This

-

<%= @site.posts.count %> interviews since 2009

+

X interviews since 2009