diff --git a/scripts/filters/comment/changyan.js b/scripts/filters/comment/changyan.js index 3101fbb977..0a7ad87c5d 100644 --- a/scripts/filters/comment/changyan.js +++ b/scripts/filters/comment/changyan.js @@ -31,13 +31,13 @@ hexo.extend.filter.register('theme_inject', injects => { ${iconText('comment-o', 'changyan')} {% if is_post() %} - - - + {# + #}{# + #} {% else %} - - - + {# + #}{# + #} {% endif %} {% endif %} diff --git a/scripts/filters/comment/disqus.js b/scripts/filters/comment/disqus.js index 2d24ab098a..e139310295 100644 --- a/scripts/filters/comment/disqus.js +++ b/scripts/filters/comment/disqus.js @@ -34,9 +34,9 @@ hexo.extend.filter.register('theme_inject', injects => { {% if post.comments %} ${iconText('comment-o', 'disqus')} - - - + {# + #}{# + #} {% endif %} `); diff --git a/scripts/filters/comment/facebook-comments-plugin.js b/scripts/filters/comment/facebook-comments-plugin.js index 7e191f639e..c5b5779781 100644 --- a/scripts/filters/comment/facebook-comments-plugin.js +++ b/scripts/filters/comment/facebook-comments-plugin.js @@ -21,7 +21,7 @@ hexo.extend.filter.register('theme_inject', injects => { `, { configKey: 'facebook_comments_plugin', - button: ' facebook' + button : ' facebook' }); }, priority.facebook_comments_plugin); @@ -35,9 +35,9 @@ hexo.extend.filter.register('theme_inject', injects => { {% if post.comments %} ${iconText('comment-o', 'facebook')} - - 0 - + {# + #}0{# + #} {% endif %} `); diff --git a/scripts/filters/comment/valine.js b/scripts/filters/comment/valine.js index b60aa7b379..c7d3cd9620 100644 --- a/scripts/filters/comment/valine.js +++ b/scripts/filters/comment/valine.js @@ -26,9 +26,9 @@ hexo.extend.filter.register('theme_inject', injects => { {% if post.comments and (is_post() or theme.valine.comment_count) %} ${iconText('comment-o', 'valine')} - - - + {# + #}{# + #} {% endif %} `);