Permalink
Browse files

Added google+ widget.

  • Loading branch information...
1 parent 00dedf6 commit 665a4c679d376a105d459b7ef0ee0d0a68e1864a @stucchio committed Apr 24, 2012
Showing with 9 additions and 0 deletions.
  1. +9 −0 layout/blog.j2
View
9 layout/blog.j2
@@ -35,6 +35,7 @@
<div id="facebook_like">
<div class="fb-like" data-send="true" data-width="450" data-show-faces="true"></div>
</div>
+ <div><g:plusone size="medium" annotation="inline"></g:plusone></div>
<a href="/blog/atom.xml"><img class="atom-feed" src="/media/images/atom.png"></img></a>
</div>
@@ -80,4 +81,12 @@
}(document, 'script', 'facebook-jssdk'));
</script>
+<script type="text/javascript">
+ (function() {
+ var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
+ po.src = 'https://apis.google.com/js/plusone.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
+ })();
+</script>
+
{%- endblock %}

0 comments on commit 665a4c6

Please sign in to comment.