Lately I’ve been experimenting with using Hugo’s headless bundles to store data as markdown files instead of using the
data/ directory. This strategy plays really well with Forestry’s CMS because you can define a template for your front matter fields, as well as create dropdown fields populated by the pages in a certain section.
I wrote an article about doing this and included a naive example of it in action: Keeping Content DRY: Data Relationships in Hugo.
This is definitely something I plan on working with more in the future, as I think there are some cool possibilities here.
Has anyone else tried this? I’d love to know what you think!
Disclaimer: I work for Forestry.io