diff --git a/layout/_macro/post.swig b/layout/_macro/post.swig index 1d920afc4..454f8de94 100644 --- a/layout/_macro/post.swig +++ b/layout/_macro/post.swig @@ -339,7 +339,14 @@ {% endif %} - {% if not is_index %} + {% if not is_index and (theme.rating.enable) or (theme.vkontakte_api.enable and theme.vkontakte_api.like) or (theme.facebook_sdk.enable and theme.facebook_sdk.like_button) %} +
{% endif %} {% if not is_index and (post.prev or post.next) %}