]> git.maquefel.me Git - brevno-suite/hugo/commit
Make hugo.toml the new config.toml
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sun, 15 Jan 2023 17:45:51 +0000 (18:45 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 16 Jan 2023 14:34:16 +0000 (15:34 +0100)
commitf38a2fbd2e4de7f095a833b448cb8bc053955ce2
tree3c88d0c12efa09ef3cc189a5859620b771004c7f
parent6a579ebac3a81df61f22988e3eb55f7cb35ce523
Make hugo.toml the new config.toml

Both will of course work, but hugo.toml will win if both are set.

We should have done this a long time ago, of course, but the reason I'm picking this up now is that my VS Code setup by default picks up some
JSON config schema from some random other software which also names its config files config.toml.

Fixes #8979
commands/commands.go
commands/new_site.go
config/configLoader.go
hugolib/config.go
hugolib/config_test.go
hugolib/integrationtest_builder.go
modules/collect.go