Hugo 0.32 Related Questions/Discussions

No, there is no simpler way, but I’m not sure you want to go down that route. When I added JSON files as example in my resources test site, I had client side handling in mind (JavaScript).

If you want to add metadata to pages, I suggest you use either page front matter or data files.

I may consider adding a Content method to Resource, but I’m not sure …