diff --git a/theme/javascript/utils/sharing.js b/theme/javascript/utils/sharing.js index f27e4a484..a0cfb593a 100755 --- a/theme/javascript/utils/sharing.js +++ b/theme/javascript/utils/sharing.js @@ -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)); } }; diff --git a/theme/templates/website/includes/header.html b/theme/templates/website/includes/header.html index 7a987b04f..adaadaf90 100644 --- a/theme/templates/website/includes/header.html +++ b/theme/templates/website/includes/header.html @@ -54,6 +54,10 @@ {% if options.links.sharing.weibo == true %} {% endif %} + {% if options.links.sharing.vk == true %} + + {% endif %} +