diff --git a/layout/_partials/comments.swig b/layout/_partials/comments.swig index e76d76ae7..278e6e737 100644 --- a/layout/_partials/comments.swig +++ b/layout/_partials/comments.swig @@ -1,35 +1,51 @@ {% if page.comments %} -
{% if (theme.duoshuo and theme.duoshuo.shortname) or theme.duoshuo_shortname %} +
+
{% elseif theme.facebook_sdk.enable and theme.facebook_comments_plugin.enable %} +
+
{% elseif theme.vkontakte_api.enable and theme.vkontakte_api.comments %} +
+
{% elseif theme.disqus.enable %} +
+
{% elseif theme.hypercomments_id %} +
+
{% elseif theme.youyan_uid %} +
+
{% elseif theme.livere_uid %} +
+
{% elseif theme.changyan.appid and theme.changyan.appkey %} +
+
{% elseif theme.valine.appid and theme.valine.appkey %} +
+
{% endif %} -
{% endif %}