Closed Svenito closed 11 years ago
You can do that from the page itself using the disqus moderation button. Would this be really more convenient?
Or you mean having the comment box not even appear?
Yes, if the comments are disabled it would not show the disqus box at all.
Not sure if that's something anyone might prefer to just closing the thread
Don't know either. I would just close the thread, but it could be implemented, it's not terribly hard, I am just a bit hesitant about adding yet more metadata into the posts.
Valid point. It would be optional in any case.
I'll stick with closing threads for now.
./Sven
On 7 Feb 2013, at 18:25, Roberto Alsina notifications@github.com wrote:
Don't know either. I would just close the thread, but it could be implemented, it's not terribly hard, I am just a bit hesitant about adding yet more metadata into the posts.
— Reply to this email directly or view it on GitHub.
Now that we have custom metadata fields, this could be done by adding something like this in the templates:
% if not post.nocomments:
[the disqus stuff]
%endif
And a ".. nocomments: True" in the post metadata.
So, I am closing as "possible but not supported in the default templates"
This is easy to do now.
thanks for the fix. Will try it out as soon as I can
Fixed in master. Just add a ".. nocomments: True" in your post and that's it.
Any interest in adding the ability to enable/disable comments per post/story via
defaulting to whatever setting is set in the conf.py if omitted from the post?