Sha256: abeea0b637247a8bc1ae898ff7d4aef0ccea33b8d8068ee5f42bd99c78c55b0b

Contents?: true

Size: 808 Bytes

Versions: 11

Compression:

Stored size: 808 Bytes

Contents

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

<%= render 'draft_notice' unless @page.published? %>

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

11 entries across 11 versions & 1 rubygems

Version Path
tkh_content-0.10.10 app/views/pages/show.html.erb
tkh_content-0.10.9 app/views/pages/show.html.erb
tkh_content-0.10.8 app/views/pages/show.html.erb
tkh_content-0.10.7 app/views/pages/show.html.erb
tkh_content-0.10.6 app/views/pages/show.html.erb
tkh_content-0.10.5.1 app/views/pages/show.html.erb
tkh_content-0.10.5 app/views/pages/show.html.erb
tkh_content-0.10.4 app/views/pages/show.html.erb
tkh_content-0.10.3 app/views/pages/show.html.erb
tkh_content-0.10.2 app/views/pages/show.html.erb
tkh_content-0.10.1 app/views/pages/show.html.erb