I’ve been playing with Hugo recently and I had an idea for static comments but can’t manage to solve my issue.
I want comments to be stored in data/post with each comment file named after the same blog post. However it does not seem to work and I don’t know why, here is the partial that I have in single.html :
`{{ range $.Site.Data.post }}
{{ range .File.LogicalName }}
{{ .content | markdownify }}
{{ end }}
{{ end }}`
Written like that I understand that Hugo can find the data/post/basenameofmypost.yaml that I need to render the content: "blablabla".