Run a filter before outputting the hreflang link#1039
Conversation
herrvigg
left a comment
There was a problem hiding this comment.
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