Environment
- Hugo version you are using (output of
hugo version):
- hugo v0.161.1-ea8f66a7ce988664dcc84c052fc96757042e2e4a+extended linux/amd64 BuildDate=2026-04-29T13:56:01Z VendorInfo=gohugoio
- Docsy version you are using:
- v0.15.0
- How are you using Docsy? As a:
- OS:
Problem
The _print/ url does not respect the hugo.toml relativeURLs = true setting, so all the printed pages use absolute URLs. The rest of the site respects relativeURLs=true.
This has the following implications:
- all images are missing when browsing _print from the local file system, so local html to pdf also will not work.
- printing will not be available when serving from a subfolder different than /. (with relativeURLs=true, baseURL has to be /)
Environment
hugo version):Problem
The _print/ url does not respect the hugo.toml relativeURLs = true setting, so all the printed pages use absolute URLs. The rest of the site respects relativeURLs=true.
This has the following implications: