1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

Add --format to hugo config

Now default to TOML.
This commit is contained in:
Bjørn Erik Pedersen
2023-05-22 19:00:07 +02:00
parent b6e6438f7f
commit 85b13c105a
4 changed files with 40 additions and 8 deletions

View File

@ -5,6 +5,8 @@ stdout 'Print the site configuration'
hugo config
stdout 'baseurl = .https://example.com/'
hugo config --format json
stdout '\"baseurl\": \"https://example.com/\",'
hugo config mounts -h