Sha256: 8cc0c981cb98a71f195b5dae3aa39c6c41745023ed07f74a900f80b200c64333

Contents?: true

Size: 772 Bytes

Versions: 12

Compression:

Stored size: 772 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%>
	<%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

12 entries across 12 versions & 1 rubygems

Version Path
spud_cms-0.8.17 app/views/pages/show.html.erb
spud_cms-0.8.15 app/views/pages/show.html.erb
spud_cms-0.8.14 app/views/pages/show.html.erb
spud_cms-0.8.13 app/views/pages/show.html.erb
spud_cms-0.8.12 app/views/pages/show.html.erb
spud_cms-0.8.11 app/views/pages/show.html.erb
spud_cms-0.8.10 app/views/pages/show.html.erb
spud_cms-0.8.9 app/views/pages/show.html.erb
spud_cms-0.8.7 app/views/pages/show.html.erb
spud_cms-0.8.6 app/views/pages/show.html.erb
spud_cms-0.8.5 app/views/pages/show.html.erb
spud_cms-0.8.4 app/views/pages/show.html.erb