summaryrefslogtreecommitdiffstats
path: root/commands/hugobuilder.go
AgeCommit message (Collapse)Author
2023-05-20Add hugo.WorkingDirBjørn Erik Pedersen
Fixes #10969
2023-05-19commands: Fix data raceBjørn Erik Pedersen
By wrapping all use of the shared config in a lock. Updates #10953
2023-05-19Re-add --printUnusedTemplates and --printPathWarningsBjørn Erik Pedersen
And now with tests. Updates #10953
2023-05-18commands: Load config before creating the filesystemBjørn Erik Pedersen
To allow publishDir to be set in config file.
2023-05-18Fix some recently introduced error handling issuesBjørn Erik Pedersen
Updates #10953
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