title: Anchor Tag for sharing URL on Facebook, Twitter etc
body: <p>I am trying to find a way (JQuery etc.) of auto updating the URL for sharing on Facebook, Twitter etc.</p>
  
  <p>For example:</p>
  
  <pre><code>&lt;a href="https://www.facebook.com/sharer/sharer.php?u=http//xxxxxxxxx.co.uk/index.html/" class="button button--icon button--facebook"&gt;&lt;img src="../img/facebook.png"&gt;&lt;/a&gt;
  </code></pre>
  
  <p>Except I want to replace "http//xxxxxxxxx.co.uk" with something so that if the URL of that page were to change, it would grab that URL and insert it into the tag, without me having to update it manually?</p>