Using this snippet, you can add links that automatically update, to share an article url on popular social networks. This may be useful for newsletters featuring articles from the web, or links to products.
<editable name="article">
<!--example fields for your article. Replace these, and the references in the urls below, as required-->
<field type="href" name="url" label="Article url"></field>
<field type="text" name="headline" label="Headline"></field>
<!--Share on Faceboook-->
<a replace-href="https://www.facebook.com/sharer/sharer.php?u={{href | url_escape}}">Share on Facebook</a><br>
<!--Share on Twitter-->
<a replace-href="http://twitter.com/intent/tweet?text={{headline}}&url={{href | url_escape}}">Share on Twitter</a><br>
<!--Share on LinkedIn-->
<a replace-href="https://www.linkedin.com/shareArticle?mini=true&url={{href | url_escape}}&title={{headline}}">Share on Linkedin</a>
<!--Post to Google+-->
<a replace-href="https://plus.google.com/share?url={{href | url_escape}}">Share on Google+</a>
<!--Post to Pocket-->
<a replace-href="https://getpocket.com/edit.php?title={{headline}}&url={{href | url_escape}}">Post to Pocket</a><br>
<!--Post to Instapaper-->
<a replace-href="http://www.instapaper.com/hello2?title={{headline}}&url={{href | url_escape}}">Post to Instapaper</a>
</editable>