From db77e492c6f96c2fb7544ccde9241ca2434effef Mon Sep 17 00:00:00 2001 From: djones Date: Tue, 14 Sep 2010 15:26:10 +1200 Subject: added built in ShareThis.com support --- app/views/blog/posts/show.html.erb | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'app/views') diff --git a/app/views/blog/posts/show.html.erb b/app/views/blog/posts/show.html.erb index 163b6b3..ed2c082 100644 --- a/app/views/blog/posts/show.html.erb +++ b/app/views/blog/posts/show.html.erb @@ -1,3 +1,12 @@ +<% content_for :head do %> + <% if BlogPost::ShareThis.enabled? %> + + + <% end %> +<% end %> + <% content_for :body_content_title, @blog_post.title %> <% content_for :body_content_left do %> @@ -15,6 +24,10 @@

<%= @blog_post.body %> + <% if BlogPost::ShareThis.enabled? %> + + <% end %> + <% if BlogPost.comments_allowed? %>

<%= t('.comments.title') %>

-- cgit v1.2.3