Mai-Lapyst
cc14c6a52c
resources/page: Allow section and taxonomy pages to have a permalink configuration
...
Allows using permalink configuration for sections (branch bundles) and
also for taxonomy pages. Extends the current permalink configuration to
be able to specified per page kind while also staying backward compatible:
all permalink patterns not dedicated to a certain kind, get automatically
added for both normal pages and term pages.
Fixes #8523
2023-06-26 15:31:01 +02:00
Oleksandr Redko
9009c8cdca
all: Fix typos in function names and comments
2023-06-19 09:26:29 +02:00
Bjørn Erik Pedersen
7c9fada778
Replace the old log setup, with structured logging etc.
...
Fixes #11124
2023-06-18 13:03:04 +02:00
Bjørn Erik Pedersen
60a2cdf72d
Fix config merge regression with root slices (e.g. disableKinds)
...
Fixes #11089
2023-06-13 18:01:23 +02:00
Bjørn Erik Pedersen
0ef2952846
commands: Add --lang to hugo config
...
Fixes #11057
2023-06-01 10:49:21 +02:00
Bjørn Erik Pedersen
e3ae8f025d
Make sure any default mounts show up in "hugo config"
...
Fixes #11040
2023-06-01 10:49:21 +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
2c3d4dfb74
Add cache busting config to support Tailwind 3
...
Fixes #10974
2023-05-22 14:14:35 +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
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