-
Notifications
You must be signed in to change notification settings - Fork 901
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change breadcrumb and print links to RelPermalink #1699
Change breadcrumb and print links to RelPermalink #1699
Conversation
Nice! Something I've been wanting to fix for quite a while! Were you able to confirm that breadcrumb links encoded as paths rather than full URLs won't break SEO etc.? |
0eb08b4
to
33a67d5
Compare
TBH I haven't thought that this would impact SEO, just noticed that these
are the only ones with absolute links.
…On Fri, 10 Nov 2023, 21:15 Patrice Chalin, ***@***.***> wrote:
Nice! Something I've been wanting to fix for quite a while!
Fixes:
- #1337 <#1337>
Were you able to confirm that breadcrumb links encoded as paths rather
than full URLs won't break SEO etc.?
—
Reply to this email directly, view it on GitHub
<#1699 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA6AU3PZWU7KUTPUVCVXPW3YD2DPNAVCNFSM6AAAAAA6U72JUOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWGM3TMNJTGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
33a67d5
to
b4e8225
Compare
b4e8225
to
60676aa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm so glad to see this land, I've been wanting this fixed for a while now. Thanks @fekete-robert!
Glad that I could help :) |
The breadcrumb links and the print metalink used Permalink instead of RelPermalink, causing them to always link to the full domain referenced in the baseurl of the build. Using relpermalink makes these links work without referencing the baseurl, so they work even in dev environments (for example, when the site is deployed in a local docker container).
Preview, e.g.: https://deploy-preview-1699--docsydocs.netlify.app/docs/get-started/docsy-as-module/