hugo server --baseURL=$(HUGO_RUN_BASE_URL)
BUT I need a cli param to tell the GUI to scope showing this in the Web GUI:
" You must replace the baseURL in hugo.toml file when deploying, you can manage this announcement from the params.toml file.
"
A config setting is not enough for automation.
I cant see this as a flag on the CLI, and really need it. For large scale ops, the config is not scalable in terms of dev and ops effort. When the final base url is set thats also when you want to also tell the server to stop showing the nag message at the top too.
Config is for devs. Args / Env is for Ops.
All I see that is kind of related is:
--disableBrowserError do not show build errors in the browser
--disableFastRender enables full re-renders on changes
--disableKinds strings disable different kind of pages (home, RSS etc.)
--disableLiveReload watch without enabling live browser reload on rebuild