For now I migrating from Jekyll to Hugo. & I have misunderstanding.
I want to create page with customer reviews. All reviews are in yml-file.
What workflow in Hugo to create page with this data?
In Jekyll I have yml-file in data directory & customer_reviews.html file in root directory (in which i have loop that get my yml-data & render my page).
You might be trying to do something which I’m trying also.
One thing I’m confused about:
In Jekyll I have yml-file in data directory & customer_reviews.html file in root directory (in which i have loop that get my yml-data & render my page)
Why would this be in root directory?
For what I’m doing (listing categories based on folder location), I’m putting base category pages in Content, and then the data to fill those pages in data and sub folders (representing the categories). It’s work in progress right now, so I can’t help more than that.
However, it did make me think something like a {{ createpage " … .html" }} would be useful, but that might be just because I’m trying to do something a bit random.