diff options
Diffstat (limited to 'app/views/refinery/blog/posts/show.html.erb')
-rw-r--r-- | app/views/refinery/blog/posts/show.html.erb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app/views/refinery/blog/posts/show.html.erb b/app/views/refinery/blog/posts/show.html.erb new file mode 100644 index 0000000..42229cf --- /dev/null +++ b/app/views/refinery/blog/posts/show.html.erb @@ -0,0 +1,19 @@ +<% content_for :body do %> + <div id="show_blog_post"> + <%= render 'post' %> + </div> + + <% if Refinery::Blog::Post.comments_allowed? %> + <%= render 'comments'%> + <% end %> +<% end %> + +<%= 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:'<%= Blog::Post::ShareThis.key %>'});</script> +<% end if Refinery::Blog::Post::ShareThis.enabled? %> |