fix friends page

i18n 1.0.6
xaoxuu 5 years ago
parent 1a1aaed7f5
commit 53f520615a
  1. 2
      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;
}
}

Loading…
Cancel
Save