Popular static website generators like Jekyll can generate pages from YAML files. Jekyll even supports CSV directly.
https://jekyllrb.com/docs/datafiles/
https://jekyllrb.com/docs/collections/#step3