Sha256: 908f859cc3dee54682ae291c5c7a9a375e9425ce952bbfb5573db6bc488ac9b6

Contents?: true

Size: 471 Bytes

Versions: 8

Compression:

Stored size: 471 Bytes

Contents

<% content_for :meta_title, @page.title %>
<% content_for :meta_description, @page.description %>

<% unless @page.for_blog? %>

	<%= raw tkhed(@page.body) %>
	<%= render( 'admin_context_menu', page: @page) if administrator? %>

<% else %>
  
	<%= content_tag(:h1, @page.title) %>
	<%= render '/pages/blog_post_meta', post: @page %>
	<%= raw tkhed(@page.body) %>
	
<% end -%>

<%# partial in tkh_menus gem or has to be added in host app %>
<%= render './shared/menus' %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
tkh_content-0.2.1 app/views/pages/show.html.erb
tkh_content-0.2 app/views/pages/show.html.erb
tkh_content-0.1.15 app/views/pages/show.html.erb
tkh_content-0.1.14 app/views/pages/show.html.erb
tkh_content-0.1.13 app/views/pages/show.html.erb
tkh_content-0.1.12 app/views/pages/show.html.erb
tkh_content-0.1.11 app/views/pages/show.html.erb
tkh_content-0.1.10 app/views/pages/show.html.erb