commands: Enable format flag with hugo new site

Fixes #11155
This commit is contained in:
Joe Mooring 2023-06-24 08:45:53 -07:00 committed by Bjørn Erik Pedersen
parent 23ed087c4e
commit 019299b0b0
2 changed files with 10 additions and 10 deletions

View file

@ -2,6 +2,8 @@
hugo new site -h
stdout 'Create a new site in the provided directory'
hugo new site my-yaml-site --format yml
checkfile my-yaml-site/hugo.yml
hugo new site mysite -f
stdout 'Congratulations! Your new Hugo site is created in'
cd mysite
@ -45,6 +47,3 @@ draft: true
---
Dummy content.