diff --git a/layout/_third-party/comments.ejs b/layout/_third-party/comments.ejs index 0bf3fbb..253320a 100644 --- a/layout/_third-party/comments.ejs +++ b/layout/_third-party/comments.ejs @@ -10,7 +10,7 @@ if ((config.disqus_shortname || config.livere_uid || config.valine) && theme.services.comments == true && page.comments != false) { displayComments = true; } - if (theme.services.popular_posts == true) { + if (theme.services.popular_posts == true && page.layout == 'post' && page.popular_posts != false) { displayPopularPosts = true; } }