blob: e0f3ef6557c2fdc0d5c2fab969fbf8cba00500df (
plain)
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
|
{{ $url := printf "%s" .URL | absLangURL }}
<div style="display: flex; flex-direction: row;">
<!-- Sharingbutton Facebook -->
<a
class="sharing-icon"
href="https://facebook.com/sharer/sharer.php?u={{ $url }}"
target="_blank"
rel="noopener"
aria-label="share on facebook"
>
<i>
{{ partial "icons/facebook.html" . }}
</i>
</a>
<!-- Sharingbutton Twitter -->
<a
class="sharing-icon"
href="https://twitter.com/intent/tweet/?text={{ print .Title ` by ` .Site.Params.author }}&url={{ $url }}"
target="_blank"
rel="noopener"
aria-label="share on twitter"
>
<i>
{{ partial "icons/twitter.html" . }}
</i>
</a>
<!-- Sharingbutton E-Mail -->
<a
class="sharing-icon"
href="mailto:?subject={{ print .Title ` by ` .Site.Params.author }}&body={{ $url }}"
target="_self"
rel="noopener"
aria-label="share by email"
>
<i>
{{ partial "icons/email.html" . }}
</i>
</a>
</div>
|