blob: e7cd8236997d99a0bd5c0f4fc73e50fe0391ca03 (
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
|
<div
class="share-links"
style="
display: flex;
margin-left: 1em;
align-items: center;
width: 120px;
justify-content: space-between;
"
>
{{ $url := printf "%s" .URL | absLangURL }}
<a
class="header-icon"
href="mailto:?subject={{ print .Title ` by ` .Site.Params.author }}&body={{ $url }}"
target="_self"
rel="noopener"
aria-label="share by email"
><i class="bi bi-envelope"></i
></a>
<a
class="header-icon"
href="https://facebook.com/sharer/sharer.php?u={{ $url }}"
target="_blank"
rel="noopener"
aria-label="share on facebook"
><i class="bi bi-facebook"></i
></a>
<a
class="header-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 class="bi bi-twitter"></i
></a>
</div>
|