Can you think of a way to only allow comments on select posts? As a local news outlet (the only local news outlet here), we are envisioning a single post or page on which members can add announcements and ads in the form of comments. This would save us from having to add each member one by one to the Staff list, so they can Post to the site. We don’t want to allow comments sitewide because we don’t want to monitor arguments.
It’s a small tweak to only load the {{comments}} helper based on a tag on the post. While technically, someone could still hit the api to make a comment on the post, if it doesn’t render on the page and no one sees it, was it a comment? It’d look something like:
{{#has tag="#your-internal-tag-name-not-slug}}
{{comments}}
{{/has}}
… in the location where your theme currently has {{comments}}. If your theme currently is passing any arguments to comments or has other logic wrapped around it, just add the #has /has to the outside.
This is great. Thank you. This will eliminates friction for readers to be able to say something. They don’t have to learn to post in Ghost; we don’t have to add them to the Staff as a Contributor; we don’t have to monitor every page. They just have to log in once, and cookies will keep them logged in.