Disqus comments on select pages

I am using the cocoa theme and disqus seems to be working fine with the blog section in the content directory. However I would like to enable disqus comments for select posts in another folder in content/test. What’s the easiest way of doing this?

A starting point:

You’d need to wrap the disqus code in a conditional, on whatever template your other section is using, then add something to the posts’ frontmatter, which is checked by the conditional.

Also, although it does not answer your question about conditionals, do see the docs: https://gohugo.io/content-management/comments/#add-disqus