Describe the bug
When trying to start a local doc server with hugo server it fails with:
ERROR command error: failed to load config: "C:\dapr-docs-1.17\hugo.yaml:139:3": [139:3] mapping key "archived_version" already defined at [129:3]
136 | # Flag used in the "version-banner" partial to decide whether to display a
137 | # banner on every page indicating that this is an archived version of the docs.
138 | # Set this flag to "true" if you want to display the banner.
139 | archived_version: false
^
141 | # A link to latest version of the docs. Used in the "version-banner" partial to
142 | # point people to the main doc site.
143 |
This is because in commit ced831f for #5046 a second copy of the archived_version parameter block was added to hugo.yaml.
Reverting that change solves the issue.
Steps to reproduce
Follow the instructions from Readme to run a local hugo server with 1.17 branch.
Expected behavior
local web-server starts up without issues
Desktop
- OS: Windows 11
- Browser Firefox
- Version 149.0