-
Notifications
You must be signed in to change notification settings - Fork 110
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
Run a filter before outputting the hreflang link #1039
base: master
Are you sure you want to change the base?
Conversation
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 made something similar temporarily in master but removed it until the question of the locales is better solved. I'd prefer a unique filter fired once instead of firing for every language.
Is it a better approach to run it between the two loops? |
It could be done with an array indexed by |
Ah, i only see the new version now. Yes, something like that, but I'd still need to clarifiy if we need a separation between |
660b9d6
to
2369434
Compare
Sorry for long delay but it's related to a wider topic with #668 so I have to keep it on hold until this is addressed, lower priority at the moment. Patching the code locally is the only way for now, but I know this is not great 😕 |
4eda2c7
to
69edb6e
Compare
5254c56
to
e02f557
Compare
This allows users to skip generating a hreflang link