-
Notifications
You must be signed in to change notification settings - Fork 4k
Output generic alternates for page metadata #3804
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
Conversation
|
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
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.
Pull Request Overview
This PR adds support for outputting generic alternates (alternates without a language) in page metadata, extending the existing language-only alternate support.
Key Changes
- Enhanced canonical URL handling to support both relative and absolute URLs using
URL.canParse() - Modified the alternates reduction logic to collect both language and generic alternates
- Attempted to output generic alternates through the metadata
typesfield
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.