HiDeoo / starlight-blog

Starlight plugin to add a blog to your documentation
https://starlight-blog-docs.vercel.app
MIT License
159 stars 21 forks source link

Respect trailingSlash option of starlight #31

Closed crohr closed 7 months ago

crohr commented 7 months ago

Is your feature request related to a problem?

Right now, starlight-blog hardcodes all paths with no trailing slash. But the base starlight config allows setting trailing slash preference (in my case always). However the Blog engine will not respect that, which leads to unnecessary redirects when deployed.

Describe the solution you'd like

Respect trailingSlash config.

Describe alternatives you've considered

No response

Additional Context

No response

HiDeoo commented 7 months ago

Thanks for your report :raised_hands:

This should now be fixed in version 0.6.0.

crohr commented 7 months ago

@HiDeoo that works great, thanks!