summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJimmy Huynh <jimmy.huynh@etu.unistra.fr>2020-12-18 14:40:37 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-04-08 23:17:31 +0200
commit00011ee4ecdf810d48cd173f373e165c54f5b859 (patch)
tree911c72cad29f05205115672ccfd2ca8761e9a8e1 /templates
parent5a9f8ff770fac583dbb2bedf697f34fb65528a3a (diff)
(+) Partage RSS (FB & Twitter) [URL]
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/part.content.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/templates/part.content.php b/templates/part.content.php
index 315634a27..a61441ccb 100644
--- a/templates/part.content.php
+++ b/templates/part.content.php
@@ -122,12 +122,18 @@
<p class="label-group">Partage réseaux sociaux</p>
- <a class="icon-facebook pr-5" ng-click="">
+ <a class="icon-facebook pr-5"
+ ng-href="https://www.facebook.com/sharer/sharer.php?u={{ ::item.url }}"
+
+ >
<span>
Facebook
</span>
</a>
- <a class="icon-twitter pr-5" ng-click="">
+ <a class="icon-twitter pr-5"
+ ng-href="https://twitter.com/intent/tweet?url={{ ::item.url }}"
+
+ >
<span> Twitter </span>
</a>