You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Table of Contents of an article series uses permalinks instead of relative permalinks. This leads to the issue, that when compiled with a configured baseURL, links of the ToC are not working.
To Reproduce
Steps to reproduce the behavior:
Create an article series
Set baseURL = "https://christophvoigt.com/" in config.toml
hugo serve
Try to access a link in the series, it will link to a 404, as it points to https://christophvoigt.com/<path>, not https://localhost:<port>/path
Expected behavior
Link to the actual page, when served on localhost
Hugo & Blowfish versions
hugo v0.140.2+extended+withdeploy darwin/arm64 BuildDate=2024-12-30T15:01:53Z VendorInfo=brew
Describe the bug
Table of Contents of an article series uses permalinks instead of relative permalinks. This leads to the issue, that when compiled with a configured
baseURL
, links of the ToC are not working.To Reproduce
Steps to reproduce the behavior:
baseURL = "https://christophvoigt.com/"
in config.tomlhugo serve
https://christophvoigt.com/<path>
, nothttps://localhost:<port>/path
Expected behavior
Link to the actual page, when served on localhost
Hugo & Blowfish versions
Additional context
I think the target of the <a href should be
instead of
At least this fixed the behavior for me.
The text was updated successfully, but these errors were encountered: