diff --git a/layout/_partial/scripts.ejs b/layout/_partial/scripts.ejs index c48b36b..bb386e0 100755 --- a/layout/_partial/scripts.ejs +++ b/layout/_partial/scripts.ejs @@ -171,7 +171,7 @@ <% var displayComments = false; if (page && theme.services) { - if ((config.disqus_shortname || config.livere_shortname || config.valine) && theme.services.comments == true && page.comments != false) { + if ((config.disqus_shortname || config.livere_uid || config.valine) && theme.services.comments == true && page.comments != false) { displayComments = true; } } diff --git a/layout/_third-party/comments.ejs b/layout/_third-party/comments.ejs index 28caf69..b70ff4b 100644 --- a/layout/_third-party/comments.ejs +++ b/layout/_third-party/comments.ejs @@ -6,7 +6,7 @@ if (theme.services.recommended_posts == true && theme.recommended_posts && theme.recommended_posts.autoDisplay == false && page.layout == 'post' && page.recommended_posts != false) { displayRecommentedPosts = true; } - if ((config.disqus_shortname || config.livere_shortname || config.valine) && theme.services.comments == true && page.comments != false) { + if ((config.disqus_shortname || config.livere_uid || config.valine) && theme.services.comments == true && page.comments != false) { displayComments = true; } }