-
Notifications
You must be signed in to change notification settings - Fork 162
/
social_buttons.part.html
56 lines (54 loc) · 1.96 KB
/
social_buttons.part.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{% load i18n %}
<div class="mobile-menu-bloc mobile-all-links mobile-show-ico" data-title="{% trans "Partager" %}">
<h3>{% trans "Partager" %}</h3>
<ul>
<li>
<a href="https://x.com/share?url={{ app.site.url }}{{ link }}&text={{ text }}"
class="ico-after X blue"
rel="nofollow"
>
X
</a>
</li>
<li>
<a href="https://www.facebook.com/sharer.php?u={{ app.site.url }}{{ link }}&t={{ text }}"
class="ico-after facebook blue"
rel="nofollow"
>
Facebook
</a>
</li>
<li>
<a href="#share-to-mastodon"
class="open-modal ico-after mastodon blue"
rel="nofollow"
>
Mastodon
</a>
<form id="share-to-mastodon" class="modal modal-flex" target="_blank" method="GET">
<p>
{% trans "Entrez l'adresse de votre instance Mastodon (ex: https://mamot.fr)" %}.
</p>
<input type="text" class="input" name="instance" placeholder="https://" required>
<input type="hidden" class="input" name="text" value="{{ text }} {{ app.site.url }}{{ link }}">
<button type="submit" class="btn btn-submit" disabled>{% trans "Partager" %}</button>
</form>
</li>
<li>
<a href="http://sharetodiaspora.github.io/?url={{ app.site.url }}{{ link }}&title={{ text }}"
class="ico-after diaspora blue"
rel="nofollow"
>
Diaspora*
</a>
</li>
<li>
<a href="mailto:?subject={{ text }}&body={{ app.site.url }}{{ link }}"
class="ico-after email blue"
rel="nofollow"
>
{% trans "Envoyer par mail" %}
</a>
</li>
</ul>
</div>