Create pages based on YAML/JSON file


I’m currently looking into migrating a couple of custom build sites with 200 pages to Hugo.
Everything looks pretty great. The only thing I haven’t really found much informations about is the ability to create the actual files for the 200 pages. I have them all in one JSON file (1.2mb).

Ideally I would be able to do something like this:

for page in pages
-- create file with page.slug as filename and use

Could someone please point me in the right direction?


The current migration tools provided by the Hugo community are listed at You’re probably going to have to write your own data migration script.