Open kmcyjm opened 3 years ago
This theme only adds a comment block to blog posts, not to pages. Hence, I do not understand your problem. Is your "about me" page a blog post?
If you create an "about me" page with:
$ hexo new page about
It should not contain a Disqus block.
Apart from that, I think it is a good idea to add an option to disable comments on specific blog posts.
Hi,
Today I found an issue where after integrating with Disqus, adding
comments: false
to the front matter of my "About me" page doesn't let the comment box go away.After digging for awhile, it is found that adding the following block to the
footer.ejs
solves the problem,This is inspired by the post here https://github.com/hexojs/hexo-theme-landscape/issues/178.
I am not a JavaScript developer, hence not sure if this is the best option to solve this issue.
Please help evaluate and make updates as you see fit.
Thanks!