mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-24 11:26:31 +00:00
Added vk sharing button.
This commit is contained in:
@@ -16,6 +16,9 @@ define([
|
||||
},
|
||||
"instapaper": function($el) {
|
||||
window.open("http://www.instapaper.com/text?u="+encodeURIComponent(location.href));
|
||||
},
|
||||
"vk": function($el) {
|
||||
window.open("http://vkontakte.ru/share.php?url="+encodeURIComponent(location.href));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -54,6 +54,10 @@
|
||||
{% if options.links.sharing.weibo == true %}
|
||||
<a href="#" target="_blank" class="btn pull-right weibo-sharing-link sharing-link" data-sharing="weibo" aria-label="Weibo"><i class="fa fa-weibo"></i></a>
|
||||
{% endif %}
|
||||
{% if options.links.sharing.vk == true %}
|
||||
<a href="#" target="_blank" class="btn pull-right vk-sharing-link sharing-link" data-sharing="vk" aria-label="VK"><i class="fa fa-vk"></i></a>
|
||||
{% endif %}
|
||||
|
||||
|
||||
<!-- Title -->
|
||||
<h1>
|
||||
|
||||
Reference in New Issue
Block a user