Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Commit

Permalink
Support sharing to VK
Browse files Browse the repository at this point in the history
  • Loading branch information
fo2rist committed Jun 19, 2021
1 parent cedf817 commit 13df325
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions assets/scss/main.scss
Expand Up @@ -68,6 +68,7 @@ $brands: (
(linkedin, hsl(201, 100%, 35%), "\f08c"),
(pinterest, hsl(357, 70%, 46%), "\f0d2"),
(reddit, hsl(20, 100%, 50%), "\f281"),
(vk, hsl(212, 42%, 52%), "\f189"),
(email, hsl(0, 0%, 27%), "\f0e0", $fa-free-font, 900)
);

Expand Down
4 changes: 4 additions & 0 deletions layouts/partials/share-buttons.html
Expand Up @@ -24,6 +24,10 @@
<a href="//www.pinterest.com/pin/create/button/?url={{ $permalink }}&amp;description={{ $title }}" target="_blank" rel="noopener" class="nav share-btn pinterest">
<p>Pinterest</p>
</a>
{{ else if eq . "vk" }}
<a href="//vk.com/share.php?url={{ $permalink }}&amp;title={{ $title }}" target="_blank" rel="noopener" class="nav share-btn vk">
<p>VK</p>
</a>
{{ else if eq . "email" }}
<a href="mailto:?subject={{ i18n "check_out" }} {{ $author }}&amp;body={{ $permalink }}" target="_blank" class="nav share-btn email" data-proofer-ignore>
<p>Email</p>
Expand Down

0 comments on commit 13df325

Please sign in to comment.