Permalink
Browse files

add share buttons

  • Loading branch information...
1 parent 8106803 commit 39a8cb3b38a4ea5429211b9ebfe240672b42377f @sethladd sethladd committed Mar 21, 2013
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -103,5 +103,14 @@
{{/logged_in}}
</footer>
</div>
+
+ <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>
+ <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</body>
</html>
@@ -117,5 +117,9 @@ $ <strong>pub install</strong>
<h4>{{package.uploaders_title}}</h4>
<p>{{& package.uploaders_html}}</p>
+
+ <h4>Share</h4>
+ <div class="g-plusone" data-annotation="none"></div>
+ <a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-hashtags="dartlang">Tweet</a>
</div>
</div>

0 comments on commit 39a8cb3

Please sign in to comment.