Sha256: 0bfd66d8805e5b53e3039ed307744b6a659693726c1a58a8780167487d5437f9

Contents?: true

Size: 692 Bytes

Versions: 14

Compression:

Stored size: 692 Bytes

Contents

<%=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

14 entries across 14 versions & 1 rubygems

Version Path
spud_cms-0.4.8 app/views/pages/show.html.erb
spud_cms-0.4.7 app/views/pages/show.html.erb
spud_cms-0.4.6 app/views/pages/show.html.erb
spud_cms-0.4.5 app/views/pages/show.html.erb
spud_cms-0.4.4 app/views/pages/show.html.erb
spud_cms-0.4.3 app/views/pages/show.html.erb
spud_cms-0.4.0 app/views/pages/show.html.erb
spud_cms-0.3.7 app/views/pages/show.html.erb
spud_cms-0.3.6 app/views/pages/show.html.erb
spud_cms-0.3.4 app/views/pages/show.html.erb
spud_cms-0.3.3 app/views/pages/show.html.erb
spud_cms-0.3.2 app/views/pages/show.html.erb
spud_cms-0.3.1 app/views/pages/show.html.erb
spud_cms-0.3.0 app/views/pages/show.html.erb