Commit ce361f4 1 parent 1841998 commit ce361f4 Copy full SHA for ce361f4
File tree 1 file changed +14
-12
lines changed
1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change 172
172
{% endif %}
173
173
{% endif %}
174
174
175
- {% if not is_index and theme.facebook_sdk.enable and theme.facebook_sdk.like_button %}
176
- <span class="post-meta-divider">|</span>
177
- <div class="fb-like" data-layout="button_count" data-share="true"></div>
178
- {% endif %}
179
-
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
-
187
175
{# LeanCould PageView #}
188
176
{% if theme.leancloud_visitors.enable %}
189
177
<span id="{{ url_for(post.path) }}" class="leancloud_visitors" data-flag-title="{{ post.title }}">
301
289
</div>
302
290
{% endif %}
303
291
292
+ {% if (theme.vkontakte_api.enable and theme.vkontakte_api.like) or (theme.facebook_sdk.enable and theme.facebook_sdk.like_button) %}
293
+ <div class="social-like">
294
+ {% if not is_index and theme.vkontakte_api.enable and theme.vkontakte_api.like %}
295
+ <div class="vk_like">
296
+ <span id="vk_like"></span>
297
+ </div>
298
+ {% endif %}
299
+
300
+ {% if not is_index and theme.facebook_sdk.enable and theme.facebook_sdk.like_button %}
301
+ <div class="fb-like" data-layout="button_count" data-share="true"></div>
302
+ {% endif %}
303
+ </div>
304
+ {% endif %}
305
+
304
306
{% if not is_index and (post.prev or post.next) %}
305
307
<div class="post-nav">
306
308
<div class="post-nav-next post-nav-item">
You can’t perform that action at this time.
0 commit comments