From a4d2b1dd343c2abde14843055c40a77e4cc7643b Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 13 Nov 2011 12:44:30 +0100 Subject: Add buttons for sharing on FB, Google+ and Delicious --- src/_layouts/default.haml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'src/_layouts') diff --git a/src/_layouts/default.haml b/src/_layouts/default.haml index 4bc6d71..f2c2c65 100644 --- a/src/_layouts/default.haml +++ b/src/_layouts/default.haml @@ -4,5 +4,18 @@ %title Thrash and Burn Tour 2012 %meta{ :charset => 'UTF-8' } = stylesheets - %body + %script{ :type => "text/javascript", :src => "https://apis.google.com/js/plusone.js" } + %body + %div#fb-root + = javascripts('facebook') = yield + %div#sharebar + %div#google_plus_button.sharebutton + = '' + %div#delicious_button.sharebutton + %div.icon + = img "delicious-icon.png", :alt => "Delicious" + %div.link + = link "Bookmark on Delicious", "http://www.delicious.com/save", :onclick => %q{window.open('http://www.delicious.com/save?v=5&noui&jump=close&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title), 'delicious','toolbar=no,width=550,height=550'); return false;} + %div#facebook_button.sharebutton + %div.fb-like{:data => { :href => "http://thrash-and-burn.no", :send => "false", :width => "450", :colorscheme => "dark", 'show-faces' => "false"}} -- cgit v1.2.3