2019-03-14 11:16:11 +01:00
|
|
|
{{ if or .Params.socialShare (and .Site.Params.socialShare (ne .Params.socialShare false)) }}
|
|
|
|
|
2019-08-05 15:15:01 +02:00
|
|
|
{{ if or .Params.Share.Twitter (and .Site.Params.Share.Twitter (ne .Params.Share.Twitter false)) }}
|
2019-08-16 21:40:34 +02:00
|
|
|
<a href="//twitter.com/share?url={{ .Permalink }}&text={{ .Title }}&via={{ .Site.Params.Social.Twitter }}" target="_blank" title="Share on Twitter">
|
|
|
|
<i class="fab fa-twitter"></i>
|
2019-03-14 11:16:11 +01:00
|
|
|
</a>
|
2019-08-05 15:15:01 +02:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ if or .Params.Share.Facebook (and .Site.Params.Share.Facebook (ne .Params.Share.Facebook false)) }}
|
2019-03-14 11:16:11 +01:00
|
|
|
<a href="//www.facebook.com/sharer/sharer.php?u={{ .Permalink }}" target="_blank" title="Share on Facebook">
|
2019-08-16 21:40:34 +02:00
|
|
|
<i class="fab fa-facebook-square"></i>
|
2019-03-14 11:16:11 +01:00
|
|
|
</a>
|
2019-08-05 15:15:01 +02:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ if or .Params.Share.Reddit (and .Site.Params.Share.Reddit (ne .Params.Share.Reddit false)) }}
|
2019-03-14 11:16:11 +01:00
|
|
|
<a href="//reddit.com/submit?url={{ .Permalink }}&title={{ .Title }}" target="_blank" title="Share on Reddit">
|
2019-08-16 21:40:34 +02:00
|
|
|
<i class="fab fa-reddit"></i>
|
2019-03-14 11:16:11 +01:00
|
|
|
</a>
|
2019-08-05 15:15:01 +02:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ if or .Params.Share.Linkedin (and .Site.Params.Share.Linkedin (ne .Params.Share.Linkedin false)) }}
|
2019-08-16 21:40:34 +02:00
|
|
|
<a href="//www.linkedin.com/shareArticle?url={{ .Permalink }}&title={{ .Title }}" target="_blank" title="Share on LinkedIn">
|
|
|
|
<i class="fab fa-linkedin"></i>
|
2019-03-14 11:16:11 +01:00
|
|
|
</a>
|
2019-08-05 15:15:01 +02:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ if or .Params.Share.Pinterest (and .Site.Params.Share.Pinterest (ne .Params.Share.Pinterest false)) }}
|
2019-08-16 21:40:34 +02:00
|
|
|
<a href="//www.pinterest.com/pin/create/button/?url={{ .Permalink }}&description={{ .Title }}" target="_blank" title="Share on Pinterest">
|
|
|
|
<i class="fab fa-pinterest"></i>
|
2019-03-14 11:16:11 +01:00
|
|
|
</a>
|
2019-08-05 15:15:01 +02:00
|
|
|
{{ end }}
|
|
|
|
|
2019-08-16 21:40:34 +02:00
|
|
|
{{ if or .Params.Share.YCombinator (and .Site.Params.Share.YCombinator (ne .Params.Share.YCombinator false)) }}
|
|
|
|
<a href="//news.ycombinator.com/submitlink?u={{ .Permalink }}&description={{ .Title }}" target="_blank" title="Share on Hacker News">
|
|
|
|
<i class="fab fa-y-combinator"></i>
|
2019-03-14 16:07:08 +01:00
|
|
|
</a>
|
2019-08-05 15:15:01 +02:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ if or .Params.Share.Mix (and .Site.Params.Share.Mix (ne .Params.Share.Mix false)) }}
|
2019-03-14 11:16:11 +01:00
|
|
|
<a href="//mix.com/add?url={{ .Permalink }}&description={{ .Title }}" target="_blank" title="Share on Mix">
|
2019-08-16 21:40:34 +02:00
|
|
|
<i class="fab fa-mix"></i>
|
2019-08-05 15:15:01 +02:00
|
|
|
</a>
|
|
|
|
{{ end }}
|
2019-03-17 01:48:42 +01:00
|
|
|
|
2019-08-05 15:15:01 +02:00
|
|
|
{{ if or .Params.Share.Tumblr (and .Site.Params.Share.Tumblr (ne .Params.Share.Tumblr false)) }}
|
2019-08-16 21:40:34 +02:00
|
|
|
<a href="//www.tumblr.com/widgets/share/tool?canonicalUrl={{ .Permalink }}&title={{ .Title }}" target="_blank" title="Share on Tumblr">
|
|
|
|
<i class="fab fa-tumblr"></i>
|
2019-08-05 15:15:01 +02:00
|
|
|
</a>
|
|
|
|
{{ end }}
|
2019-03-17 01:48:42 +01:00
|
|
|
|
2019-08-16 21:40:34 +02:00
|
|
|
{{ if or .Params.Share.VK (and .Site.Params.Share.VK (ne .Params.Share.VK false)) }}
|
2019-03-17 01:48:42 +01:00
|
|
|
<a href="//vk.com/share.php?url={{ .Permalink }}&title={{ .Title }}" target="_blank" title="Share on VKontakte ">
|
2019-08-16 21:40:34 +02:00
|
|
|
<i class="fab fa-vk"></i>
|
2019-08-05 15:15:01 +02:00
|
|
|
</a>
|
|
|
|
{{ end }}
|
2019-03-17 01:48:42 +01:00
|
|
|
|
2019-08-05 15:15:01 +02:00
|
|
|
{{ if or .Params.Share.Weibo (and .Site.Params.Share.Weibo (ne .Params.Share.Weibo false)) }}
|
2019-08-16 21:40:34 +02:00
|
|
|
<a href="//service.weibo.com/share/share.php?url={{ .Permalink }}&appkey=&title={{ .Title }}" target="_blank" title="Share on Weibo">
|
|
|
|
<i class="fab fa-weibo"></i>
|
2019-08-05 15:15:01 +02:00
|
|
|
</a>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|