diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2011-11-13 12:44:30 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2011-11-13 12:44:30 +0100 |
commit | a4d2b1dd343c2abde14843055c40a77e4cc7643b (patch) | |
tree | aaa354bd8e6f7d2035ae9e401d2c57dc12c58272 /src/_layouts/default.haml | |
parent | 2bc8b4ab03216c8ae169b0afa788420b55f4bc11 (diff) | |
download | Thrash-and-Burn-Tour-2012-Website-a4d2b1dd343c2abde14843055c40a77e4cc7643b.tar.gz Thrash-and-Burn-Tour-2012-Website-a4d2b1dd343c2abde14843055c40a77e4cc7643b.tar.bz2 Thrash-and-Burn-Tour-2012-Website-a4d2b1dd343c2abde14843055c40a77e4cc7643b.zip |
Add buttons for sharing on FB, Google+ and Delicious
Diffstat (limited to 'src/_layouts/default.haml')
-rw-r--r-- | src/_layouts/default.haml | 15 |
1 files changed, 14 insertions, 1 deletions
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 + = '<g:plusone href="http://thrash-and-burn.no"></g:plusone>' + %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"}} |