Sha256: b10cb900b348a18ec7109f81b56aa3c47753118c798deb764f6b96a4a7ed129d
Contents?: true
Size: 915 Bytes
Versions: 3
Compression:
Stored size: 915 Bytes
Contents
<% @page_title = @page.page_title.present? ? @page.page_title : @page.name %> <%= content_for :head do %> <% cache([@page, 'head']) do %> <% if @page.meta_description.present? %> <meta name="description" content="<%= @page.meta_description %>" /> <% end %> <% if @page.meta_keywords.present? %> <meta name="keywords" content="<%= @page.meta_keywords %>" /> <% 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_processed.html_safe %> <% end %> <% else%> <%= content_for page_partial.symbol_name.to_sym do %> <% cache(page_partial) do %> <%= page_partial.content_processed.html_safe %> <% end %> <% end %> <% end %> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tb_cms-1.3.0 | app/views/pages/show.html.erb |
tb_cms-1.3.beta1 | app/views/pages/show.html.erb |
tb_cms-1.2.3 | app/views/pages/show.html.erb |