aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/refinery/blog/posts/show.html.erb
blob: bc9b203cd2058a44202ba74158b0a6ca2da12cd0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<% content_for :body do %>
  <div id="show_blog_post">
    <%= render 'post' %>
  </div>

  <% if Refinery::Blog::Post.comments_allowed? %>
    <%= render 'comments'%>
  <% end %>
<% end %>

<%= render '/refinery/blog/shared/body_content_right' %>

<%= render "/refinery/content_page", :remove_automatic_sections => true %>

<% content_for :stylesheets, stylesheet_link_tag('refinery/blog/frontend') %>
<% content_for :javascripts do %>
  <%# enable AJAX'd post nav at your own risk until html5 history API implemented. %>
  <%#= javascript_include_tag('refinery/blog/frontend') %>
  <script src="http://w.sharethis.com/button/buttons.js"></script>
  <script>stLight.options({publisher:'<%= Refinery::Blog.share_this_key %>'});</script>
<% end if Refinery::Blog::Post::ShareThis.enabled? %>