Sha256: 5e4862278c4141db3682ba593c1c75d8cfe8f6bf74dfb7735b189bd9ac7ee8a5

Contents?: true

Size: 694 Bytes

Versions: 4

Compression:

Stored size: 694 Bytes

Contents

<%=content_for :title do%>
	<%= @page.name %> | <%=current_site_name%>
<% end %>
<%=content_for :head do%>
	<%if !@page.meta_description.blank?%>
		<meta name="description" content="<%=@page.meta_description%>" />
	<%end%>

		<meta name="keywords" content="<%=@page.meta_keywords%>" />

<%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)%>
		<%=page_partial.content_processed.html_safe%>
	<%else%>
		<%=content_for page_partial.symbol_name.to_sym do%>
			<%=page_partial.content_processed.html_safe%>
		<%end%>
	<%end%>
<%end%>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spud_cms-0.9.3 app/views/pages/show.html.erb
spud_cms-0.9.2 app/views/pages/show.html.erb
spud_cms-0.9.1 app/views/pages/show.html.erb
spud_cms-0.9.0 app/views/pages/show.html.erb