-
Notifications
You must be signed in to change notification settings - Fork 780
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable comments on pages/posts #257
Labels
Comments
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:
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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 hexojs/hexo-theme-landscape#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!
The text was updated successfully, but these errors were encountered: