summaryrefslogtreecommitdiffstats
path: root/hugolib/params_test.go
AgeCommit message (Collapse)Author
2024-02-03Handle build vs _build in front matterBjørn Erik Pedersen
* Throw a detailed error message in the mentioned case * Also fixed a dropped error Fixes #11970
2024-01-30Emit a warning that can be turned off when overwriting built-in .Params valuesBjørn Erik Pedersen
Fixes #11941
2024-01-30Add path, kind and lang to content front matterBjørn Erik Pedersen
Note that none of these can be set via cascade (you will get an error) Fixes #11544
2024-01-28Add the [params] concept to front matterBjørn Erik Pedersen
This is deliberately very simple, but should not break anything. We need to introduce this in baby steps, but this should allow us to introduce this in the documentation. Note that the `params` section's key/values will be added to `.Params` last. This means that you can have different values for "Hugo's summary" and the custom ".Params.summary" if you want to. Updates #11055