Browse Source

Add social share: VK (#657)

master
Germo Görtz GitHub 4 years ago
parent
commit
b9c5bb97ba
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 0 deletions
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -0
      _config.yml
  3. +8
    -0
      _includes/social-share.html

+ 1
- 0
CHANGELOG.md 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



+ 1
- 0
_config.yml 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


+ 8
- 0
_includes/social-share.html 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 %}

Loading…
Cancel
Save