Skip to content

Commit

Permalink
fix friends page
Browse files Browse the repository at this point in the history
  • Loading branch information
xaoxuu committed Feb 12, 2019
1 parent 1a1aaed commit 53f5206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layout/_third-party/comments.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 53f5206

Please sign in to comment.