Updated share button

This commit is contained in:
Marcus Noble 2017-10-15 17:46:30 +01:00
parent 9fa3af2be1
commit 4fab660eee
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
<a href="/" class="back-to-blog" title="Return to all posts"></a>
<h2 class="post-title" itemprop="name headline">
<a class="post-link" href="{{ path }}">{{ title }}</a> {{> share }}
<a class="post-link" href="{{ path }}">{{ title }}</a>
</h2>
<div class="post-meta feather_type">
@ -63,7 +63,7 @@
event.preventDefault();
navigator.share({
title: document.title,
url: window.location.url
url: window.location.href
});
});
});