discourse-legacysite-perl/site/articles/include_share.html
2024-06-17 22:24:05 +10:00

20 lines
898 B
HTML

<div class="social-networks">
<a href="https://twitter.com/share" class="twitter-share-button" data-text="<%escape_html Title%>" data-count="vertical" data-via="slowtwitch">Tweet</a>
<script type="text/javascript" src="https://platform.twitter.com/widgets.js"></script>
<div class="fb-like" data-href="<%http_detailed_url%>" data-send="false" data-layout="button_count" data-show-faces="false" data-font="verdana"></div>
<!-- Place this tag where you want the +1 button to render -->
<g:plusone></g:plusone>
<!-- Place this render call where appropriate -->
<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>
</div>