Hugo new site newsite -f yml

I am using 0.114.1 and hugo new site newsite -f yml doesn’t work. It still creates a hugo.toml and not a hugo.yml as expected.

Please fix.
Ken Stevens

https://github.com/gohugoio/hugo/issues/11155

Should be fixed in the next release, but the flag is --format. The -f flag is shorthand for --force.

hugo new site mysite --format json
1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.