Sha256: c15c16540bc82b577d7a6e1d08c4ac05046de5a890f8b9a89bd57e7db5d6aa03

Contents?: true

Size: 673 Bytes

Versions: 13

Compression:

Stored size: 673 Bytes

Contents

<% content_for :meta_title, @page.title %>
<% content_for :meta_description, @page.description %>
<% content_for :canonical_link, link_to('', @page, rel: 'canonical') %>

<% unless @page.for_blog? %>
	<%= raw tkhed(@page.body) %>
	<%= render 'comment_section' if Setting.first.enable_comments_in_pages? %>
<% else %>
  
	<%= content_tag(:h1, @page.title) %>
	<%= render '/pages/blog_post_meta', post: @page %>
	<%= raw tkhed(@page.body) %>
	<%= render 'comment_section' if Setting.first.enable_comments_in_blog? %>
	
<% end -%>

<%= render( 'admin_context_menu', page: @page) %>
<%# partial in tkh_menus gem or has to be added in host app %>
<%= render './shared/menus' %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
tkh_content-0.9.6 app/views/pages/show.html.erb
tkh_content-0.9.5 app/views/pages/show.html.erb
tkh_content-0.9.4 app/views/pages/show.html.erb
tkh_content-0.9.3 app/views/pages/show.html.erb
tkh_content-0.9.2 app/views/pages/show.html.erb
tkh_content-0.4.7 app/views/pages/show.html.erb
tkh_content-0.9.1 app/views/pages/show.html.erb
tkh_content-0.9 app/views/pages/show.html.erb
tkh_content-0.4.6 app/views/pages/show.html.erb
tkh_content-0.4.5 app/views/pages/show.html.erb
tkh_content-0.4.4 app/views/pages/show.html.erb
tkh_content-0.4.3 app/views/pages/show.html.erb
tkh_content-0.4.2 app/views/pages/show.html.erb