I don’t think that’s possible right now, but you can find some workarounds in this forum, which mostly involves creating hugo content files from a data file:
I know you can’t make pages, content pages, from data files. But… could I make a single content file, have nothing in the body and in the front matter have some value that I can do a find/match to a data structure in the template, and then pull in data from under that matched heading to populate the content of the page?? I’m not sure i’m explaining it clearly, let me know if I need to try again.
For more info, see the issues:
Build pages from data source (#5074)
Pages from data, take 5 (#6310)
1 Like