Bjørn Erik Pedersen
9cdca1f958
Fail on invalid defaultContentLanguage
...
Fixes #11044
2023-05-30 15:59:43 +02:00
Bjørn Erik Pedersen
6462eecfbd
Avoid panic in invalid language config
...
Fixes #11046
2023-05-30 15:59:43 +02:00
Bjørn Erik Pedersen
a7d6b1413f
Don't panic on empty yaml config params
...
Fixes #11047
2023-05-30 15:59:43 +02:00
Bjørn Erik Pedersen
e3dfc76fa8
Fix it so languageCode on top level config still works
...
This is common for monolingual sites, and we broke this in Hugo 0.112.4.
Fixes #11037
2023-05-28 18:42:10 +02:00
Bjørn Erik Pedersen
2c3d4dfb74
Add cache busting config to support Tailwind 3
...
Fixes #10974
2023-05-22 14:14:35 +02:00
Bjørn Erik Pedersen
7c7baa6183
Add hugo.WorkingDir
...
Fixes #10969
2023-05-20 17:45:56 +02:00
Bjørn Erik Pedersen
4f085e80da
Make language merging of markup etc. config without values in the root
...
Updates #10953
2023-05-20 12:40:32 +02:00
Bjørn Erik Pedersen
03cb38e6c6
Allow legacy taxonomyTerm in disableKinds
...
Updates #10953
2023-05-19 09:17:55 +02:00
Andreas Deininger
ad4bc969da
Fix warn message about custom params on the language top level
2023-05-19 08:43:02 +02:00
Bjørn Erik Pedersen
7c647bcaeb
Allow empty params.mainSections
...
Updates #10953
2023-05-18 17:55:29 +02:00
Bjørn Erik Pedersen
3f00f47535
commands: Load config before creating the filesystem
...
To allow publishDir to be set in config file.
2023-05-18 15:38:25 +02:00
Bjørn Erik Pedersen
8a69ccbb00
commands: Improve the common build flag handling
...
Updates #10947
2023-05-17 22:13:29 +02:00
Bjørn Erik Pedersen
7ce033a89d
Support, but warn, about top level language custom params
...
Updates #10947
2023-05-17 22:13:29 +02:00
Bjørn Erik Pedersen
05542130ba
Handle transient errors in config loading etc.
...
As in: Get the Kubernetes site to build with the new Hugo version.
Updates #10947
2023-05-17 22:13:29 +02:00
Bjørn Erik Pedersen
241b21b0fd
Create a struct with all of Hugo's config options
...
Primary motivation is documentation, but it will also hopefully simplify the code.
Also,
* Lower case the default output format names; this is in line with the custom ones (map keys) and how
it's treated all the places. This avoids doing `stringds.EqualFold` everywhere.
Closes #10896
Closes #10620
2023-05-16 18:01:29 +02:00