Sha256: 89e289690a6395e798c4e93ae938c301fd60cfdb689fdde3ec6ea6b757be6e9f

Contents?: true

Size: 754 Bytes

Versions: 6

Compression:

Stored size: 754 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 'comments/comment_section', host: @page 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 'comments/comment_section', host: @page if Setting.first.enable_comments_in_blog? %>
  <%= render 'blog/all_tags_list' %>

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

6 entries across 6 versions & 1 rubygems

Version Path
tkh_content-0.10 app/views/pages/show.html.erb
tkh_content-0.9.20 app/views/pages/show.html.erb
tkh_content-0.9.19 app/views/pages/show.html.erb
tkh_content-0.9.18 app/views/pages/show.html.erb
tkh_content-0.9.17 app/views/pages/show.html.erb
tkh_content-0.9.16 app/views/pages/show.html.erb