<% @page_title = @page.page_title.present? ? @page.page_title : @page.name %> <%= content_for :head do %> <% cache([@page, 'head']) do %> <% if @page.meta_description.present? %> <% end %> <% if @page.meta_keywords.present? %> <% end %> <% end %> <% end %> <% if !@inline.blank? %> <%= render :inline => @inline %> <% end %> <% @page.spud_page_partials.each do |page_partial| %> <% if(page_partial.name.match(/^body$/i) && Spud::Cms.yield_body_as_content_block == false) %> <% cache(page_partial) do %> <%= page_partial.content.html_safe %> <% end %> <% else%> <%= content_for page_partial.symbol_name.to_sym do %> <% cache(page_partial) do %> <%= page_partial.content.html_safe %> <% end %> <% end %> <% end %> <% end %>