Skip to content

Instantly share code, notes, and snippets.

@chrisdev
Created August 9, 2014 00:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisdev/d9afba3d5fad69948655 to your computer and use it in GitHub Desktop.
Save chrisdev/d9afba3d5fad69948655 to your computer and use it in GitHub Desktop.
Social network share buttons
<section class="share">
<h4>Share this post</h4>
<div class="links">
<a class="icon-twitter-circled"
href="http://twitter.com/share?text={{title}}&url={{url absolute="true"}}"
onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;">
<span class="hidden">Twitter</span>
</a>
<a class="icon-facebook-circled"
href="https://www.facebook.com/sharer/sharer.php?u={{url absolute="true"}}"
onclick="window.open(this.href, 'facebook-share','width=580,height=296');return false;">
<span class="hidden">Facebook</span>
</a>
<a class="icon-gplus-circled" href="https://plus.google.com/share?url={{url absolute="true"}}"
onclick="window.open(this.href, 'google-plus-share', 'width=490,height=530');return false;">
<span class="hidden">Google+</span>
</a>
</div>
</section>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment