Sha256: ac32e9228b2a4500dc09573a9c88ff577667dd75e830613805f59a47063c653e

Contents?: true

Size: 774 Bytes

Versions: 8

Compression:

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

8 entries across 8 versions & 1 rubygems

Version Path
spud_cms-1.0.2 app/views/pages/show.html.erb
spud_cms-1.0.1 app/views/pages/show.html.erb
spud_cms-1.0.0 app/views/pages/show.html.erb
spud_cms-1.0.0.rc1.4 app/views/pages/show.html.erb
spud_cms-1.0.0.rc1.3 app/views/pages/show.html.erb
spud_cms-1.0.0.rc1.2 app/views/pages/show.html.erb
spud_cms-1.0.0.rc1.1 app/views/pages/show.html.erb
spud_cms-1.0.0.RC1 app/views/pages/show.html.erb