summaryrefslogtreecommitdiffstats
path: root/templates/part.content.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/part.content.php')
-rw-r--r--templates/part.content.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/part.content.php b/templates/part.content.php
index 71e070d50..8bcd33d14 100644
--- a/templates/part.content.php
+++ b/templates/part.content.php
@@ -142,12 +142,12 @@
<div class="col-4">
<a target="_blank"
class="icon-dropdown icon-facebook pr-5"
- ng-href="https://www.facebook.com/sharer/sharer.php?u={{ ::item.url }}"></a>
+ ng-href="{{Share.getFacebookUrl(item.url)}}"></a>
</div>
<div class="col-4">
<a target="_blank"
class="icon-dropdown icon-twitter pr-5"
- ng-href="https://twitter.com/intent/tweet?url={{ ::item.url }}"></a>
+ ng-href="{{Share.getTwitterUrl(item.url)}}"></a>
</div>
<div class="col-4">
<a class="icon-dropdown icon-mail pr-5"