Skip to content

Instantly share code, notes, and snippets.

@oliverdoetsch
Created May 1, 2014 17:58
Show Gist options
  • Save oliverdoetsch/67c3eb4a62639d3eb572 to your computer and use it in GitHub Desktop.
Save oliverdoetsch/67c3eb4a62639d3eb572 to your computer and use it in GitHub Desktop.
<b:if cond='data:top.showEmailButton'>
<div class='social-buttons'>
<!-- G+ button Start -->
<span class='g-plusone' data-align='left' data-annotation='bubble' data-size='medium' data-width='30' expr:data-href='data:post.canonicalUrl'/>
<!-- G+ button Start -->
<!-- Twitter button Start -->
<a class='twitter-share-button' data-lang='de' data-size='medium' data-width='20' expr:data-url='data:post.canonicalUrl' href='https://twitter.com/share'> Twittern</a>
<script>
//<![CDATA[
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');//]]>
</script>
<!-- Twitter button End -->
<!-- Facebook Like button Start -->
<iframe allowTransparency='true' expr:src='&quot;http://www.facebook.com/plugins/like.php?href=&quot; + data:post.url + &quot;&amp;layout=button_count&amp;show_faces=false&amp;width=70&amp;action=recommend&amp;share=true&amp;font=verdana&amp;colorscheme=light&amp;height=35&quot;' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:190px; height:20px;'/>
<!-- Facebook Like button End -->
</div>
</b:if>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment