Sha256: c6c86bcc4878aadd7946ea59233bb31033bad32532e83cf2f6b442fdd02757fe
Contents?: true
Size: 672 Bytes
Versions: 1
Compression:
Stored size: 672 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tkh_content-0.9.7 | app/views/pages/show.html.erb |