-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add support for external canonical URL #33
Add support for external canonical URL #33
Conversation
Why? Because it wasn't possible to syndicate third party content or include your own blog posts already hosted elsewhere. This adds a new "Canonical:" or ":canonical:" metadata field so you can set canonical to an external URL.
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.
Hi @jorritfolmer,
Many thanks for your contribution! It's indeed a missing feature.
I let you some thoughts.
About the metadata name, I would go for external_canonical
to avoid confusion with the generated internal canonical.
About the test comment, don't be afraid about the parametrize thought, I believe that the most important is to add a test at SEO enhancer level (before HTML generation).
If some points are not clear, don't hesitate to tell me!
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 ok with the feature. If it makes sens to you too, you can update the typos and the declaration of save_as
. Your PR will be merged after!
Co-authored-by: Maëva Brunelles <[email protected]>
Co-authored-by: Maëva Brunelles <[email protected]>
Co-authored-by: Maëva Brunelles <[email protected]>
Co-authored-by: Maëva Brunelles <[email protected]>
Again many thanks for your contribution 💯 |
Add support for external canonical URL
Why? Because it wasn't possible to syndicate third party content or include your own blog posts already hosted elsewhere. This adds a new "Canonical:" or ":canonical:" metadata field so you can set canonical to an external URL.