Sha256: 2dc309b759cc121118abf3a38502f13de8587d2c755a4ca213ca022e47734a90

Contents?: true

Size: 775 Bytes

Versions: 6

Compression:

Stored size: 775 Bytes

Contents

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

<%if !@inline.blank?%>
	<%=render :inline => @inline%> 
<%else%>
	<h2><%=@page.name%></h2>
<%end%>
<%@page.spud_page_partials.each do |page_partial|%>
	
	<%if(page_partial.name.downcase == 'body' && Spud::Cms.yield_body_as_content_block == false)%>
		<%=page_partial.content.html_safe%>
	<%else%>
		<%=content_for page_partial.name.parameterize.underscore.to_sym do%>
			<%=page_partial.content.html_safe%>
		<%end%>
	<%end%>
<%end%>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spud_cms-0.8.2 app/views/pages/show.html.erb
spud_cms-0.8.1 app/views/pages/show.html.erb
spud_cms-0.8.0 app/views/pages/show.html.erb
spud_cms-0.7.2 app/views/pages/show.html.erb
spud_cms-0.7.1 app/views/pages/show.html.erb
spud_cms-0.7.0 app/views/pages/show.html.erb