Add social share: VK (#657)

This commit is contained in:
Germo Görtz 2020-06-12 04:53:39 +02:00 committed by GitHub
parent 727c7cee3f
commit b9c5bb97ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 0 deletions

View File

@ -2,6 +2,7 @@
- Fixed issue where if a dropdown menu was the last item in the menu bar, it did not have a proper margin on the right
- Add social network link: Mastodon (#646)
- Add social share: VK
## v3.0.0 2020-05-07

View File

@ -66,6 +66,7 @@ share-links-active:
twitter: true
facebook: true
linkedin: true
vk: false
# How to display the link to your website in the footer
# Remove this if you don't want a link in the footer

View File

@ -34,6 +34,14 @@
</a>
{% endif %}
{% if site.share-links-active.vk %}
<a href="https://vk.com/share.php?url={{ page.url | absolute_url | url_encode }}"
class="btn btn-social-icon btn-vk" title="Share on VK">
<span class="fab fa-fw fa-vk" aria-hidden="true"></span>
<span class="sr-only">VK</span>
</a>
{% endif %}
</section>
{% endif %}