I want to add comments to my post. (Don’t worry how I’ll manage this with a static site; its possible.)
They should be stored in a comments.json file for each post. I’m aware of the global data/ directory.
However, I will need to access it with the page variable. I know that if . is a Page then .Data exists, that’s written in the documentation. However, I don’t know how to put something there. Should it be stored in
content/posts/mypost/comments.jsoncontent/posts/mypost/data/comments.jsondata/posts/mypost/comments.json
or is perhaps the Page.Data variable something entirely different?
I appreciate any help.