summaryrefslogtreecommitdiffstats
path: root/resources/page/pagemeta/pagemeta_test.go
AgeCommit message (Collapse)Author
2023-05-16Create a struct with all of Hugo's config optionsBjørn Erik Pedersen
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
2022-03-17all: gofmt -w -r 'interface{} -> any' .Bjørn Erik Pedersen
Updates #9687
2020-12-03all: Format code with gofumptBjørn Erik Pedersen
See https://github.com/mvdan/gofumpt
2020-10-06pagemeta: Make BuildConfig.Render an enumBjørn Erik Pedersen
Allowing links on pages without rendering them. Fixes #7783
2020-03-20Allow headless bundles to list pages via $page.Pages and $page.RegularPagesBjørn Erik Pedersen
Fixes #7075