Sha256: 23ed113303ced31b8c5477b7cf5484de6053b2ea6890fef86f22df011d8412a1

Contents?: true

Size: 710 Bytes

Versions: 8

Compression:

Stored size: 710 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? %>
  <%= 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

8 entries across 8 versions & 1 rubygems

Version Path
tkh_content-0.9.15 app/views/pages/show.html.erb
tkh_content-0.9.14 app/views/pages/show.html.erb
tkh_content-0.9.13 app/views/pages/show.html.erb
tkh_content-0.9.12 app/views/pages/show.html.erb
tkh_content-0.9.11 app/views/pages/show.html.erb
tkh_content-0.9.10 app/views/pages/show.html.erb
tkh_content-0.9.9 app/views/pages/show.html.erb
tkh_content-0.9.8 app/views/pages/show.html.erb