Skip to content

Commit bb89ece

Browse files
authored
ADD: VK API support. (4)
1 parent def4dc2 commit bb89ece

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

layout/_macro/post.swig

+7
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,13 @@
177177
<div class="fb-like" data-layout="button_count" data-share="true"></div>
178178
{% endif %}
179179

180+
{% if not is_index and theme.vkontakte_api.enable and theme.vkontakte_api.like %}
181+
{% if post.categories and post.categories.length and theme.post_meta.categories %}
182+
<span class="post-meta-divider">|</span>
183+
{% endif %}
184+
<div id="vk_like"></div>
185+
{% endif %}
186+
180187
{# LeanCould PageView #}
181188
{% if theme.leancloud_visitors.enable %}
182189
<span id="{{ url_for(post.path) }}" class="leancloud_visitors" data-flag-title="{{ post.title }}">

0 commit comments

Comments
 (0)