blog_theme/partials/share.hbs
Sodbileg Gansukh 2fc92e58a0 Code formatting
2020-09-24 10:25:42 +08:00

20 lines
1.3 KiB
Handlebars

<div class="share u-hover-wrapper">
<a class="share-item share-facebook u-hover-item"
href="https://www.facebook.com/sharer.php?u={{url absolute="true"}}"
target="_blank"><i class="icon icon-facebook"></i></a>
<a class="share-item share-twitter u-hover-item"
href="https://twitter.com/intent/tweet?url={{url absolute="true"}}&text={{encode title}}"
target="_blank"><i class="icon icon-twitter"></i></a>
<a class="share-item share-pinterest u-hover-item"
href="https://pinterest.com/pin/create/button/?url={{url absolute="true"}}&media={{featured_image}}&description={{encode title}}"
target="_blank"><i class="icon icon-pinterest"></i></a>
<a class="share-item share-linkedin u-hover-item"
href="https://www.linkedin.com/shareArticle?mini=true&url={{url absolute="true"}}&title={{encode title}}"
target="_blank"><i class="icon icon-linkedin"></i></a>
<a class="share-item share-reddit u-hover-item"
href="https://reddit.com/submit?url={{url absolute="true"}}&title={{encode title}}"
target="_blank"><i class="icon icon-reddit"></i></a>
<a class="share-item share-vk u-hover-item"
href="http://vk.com/share.php?url={{url absolute="true"}}&title={{encode title}}"
target="_blank"><i class="icon icon-vk"></i></a>
</div>