I need to configure the generator to produce index2.html instead of index.html, how do I do that?
Hi there,
You can configure output formats: https://gohugo.io/templates/output-formats/#configure-output-formats
Try something like
[outputFormats]
[outputFormats.HTML]
baseName = "index2"
2 Likes
thanks pointyfar, I was fumbling in the same docs, but for some reason was failing to nail the exact syntax, your snippet worked as a charm, thanks a lot!