Closed gumaerc closed 4 months ago
If I specify --prefix to upsert_mass_build_pipeline, that prefix should be applied to the baseURL setting
--prefix
upsert_mass_build_pipeline
baseURL
The prefix is not included in the baseURL setting, and links are all relative to the root of the site using site.get_url_path()
site.get_url_path()
Take the prefix into account when setting baseURL in Hugo
Expected Behavior
If I specify
--prefix
toupsert_mass_build_pipeline
, that prefix should be applied to thebaseURL
settingCurrent Behavior
The prefix is not included in the
baseURL
setting, and links are all relative to the root of the site usingsite.get_url_path()
Steps to Reproduce
upsert_mass_build_pipeline
management command and specify--prefix
with a custom prefixPossible Solution
Take the prefix into account when setting
baseURL
in Hugo