2020-02-16 22:01:48 +03:00
|
|
|
<!--
|
|
|
|
Post sharing snippet
|
|
|
|
-->
|
|
|
|
|
|
|
|
<div class="share-wrapper">
|
2021-07-20 20:01:09 +03:00
|
|
|
<span class="share-label text-muted mr-1">{{ site.data.locales[site.lang].post.share | default: 'Share' }}</span>
|
2020-02-29 16:51:18 +03:00
|
|
|
<span class="share-icons">
|
2020-02-16 22:01:48 +03:00
|
|
|
{% capture title %}{{ page.title }} - {{ site.title }}{% endcapture %}
|
2021-01-18 18:27:43 +03:00
|
|
|
{% assign url = page.url | absolute_url %}
|
2020-02-16 22:01:48 +03:00
|
|
|
|
|
|
|
{% for share in site.data.share.platforms %}
|
|
|
|
{% assign link = share.link | replace: 'TITLE', title | replace: 'URL', url %}
|
|
|
|
<a href="{{ link }}" data-toggle="tooltip" data-placement="top"
|
2020-10-27 11:20:22 +03:00
|
|
|
title="{{ share.type }}" target="_blank" rel="noopener" aria-label="{{ share.type }}">
|
2020-02-29 16:51:18 +03:00
|
|
|
<i class="fa-fw {{ share.icon }}"></i>
|
2020-02-16 22:01:48 +03:00
|
|
|
</a>
|
|
|
|
{% endfor %}
|
|
|
|
|
2021-07-20 20:01:09 +03:00
|
|
|
<i class="fa-fw fas fa-link small" onclick="copyLink('', '{{ site.data.locales[site.lang].post.button.copy.succeed }}')"
|
|
|
|
data-toggle="tooltip" data-placement="top"
|
|
|
|
title="{{ site.data.locales[site.lang].post.button.copy.title }}">
|
|
|
|
</i>
|
2020-02-16 22:01:48 +03:00
|
|
|
|
|
|
|
</span>
|
2020-10-26 23:11:21 +03:00
|
|
|
</div>
|