Hacker News new | ask | show | jobs
by eric_bullington 3864 days ago
One thing that I'd love to be able to do with Hugo (I'd probably switch from Middleman if this was possible): dynamic proxy pages:

https://middlemanapp.com/advanced/dynamic_pages/

"Middleman has the ability to generate pages which do not have a one-to-one relationship with their template files. What this means is that you can have a single template which generates multiple files based on variables."

So I can take a JSON file with an array of data, and generate a file dynamically for each object in the array.

Last I looked, I couldn't figure out how to do this with Hugo. Is it possible now?