Closed TheOtterlord closed 6 months ago
Thanks for the report.
I'm a bit confused about the repro as the plugin docs are not configured with any trailingSlash
option and from a quick look, sidebar links are generated using a getPathWithBase()
function which should respect the option if specified 🤔
Adding trailingSlash: 'always'
to the configuration seems to also change the generated links to include a trailing slash.
oh yeah, replicated locally too. looks like that was missing from my repro :sweat_smile:. for content this support thread is what I thought was affected. looks like it must be a different issue though.
Thanks for linking the thread, I'll go take a look right now.
Describe the bug
URLs in the sidebar & prev/next buttons don't respect
trailingSlash
, leading to an extra redirect on some hosts.To Reproduce
Expected behavior
For URLs to end with
/
How often does this bug happen?
Every time
System Info
No response
Additional Context
No response