Skip to content

Commit

Permalink
ADD: VK API support. (4)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-nginx authored Jan 17, 2017
1 parent def4dc2 commit bb89ece
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions layout/_macro/post.swig
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,13 @@
<div class="fb-like" data-layout="button_count" data-share="true"></div>
{% endif %}

{% if not is_index and theme.vkontakte_api.enable and theme.vkontakte_api.like %}
{% if post.categories and post.categories.length and theme.post_meta.categories %}
<span class="post-meta-divider">|</span>
{% endif %}
<div id="vk_like"></div>
{% endif %}

{# LeanCould PageView #}
{% if theme.leancloud_visitors.enable %}
<span id="{{ url_for(post.path) }}" class="leancloud_visitors" data-flag-title="{{ post.title }}">
Expand Down

0 comments on commit bb89ece

Please sign in to comment.