Replies: 1 comment 2 replies
-
Nobody? Empty strings still lead to an alternate Link in the Header. In the docs it says one can write it's own implementation of generating the alternate links. However it feels wrong to first generate a file with all those slugs knowing that some of them are non existing, just to make typescript happy and correcting that mistake inside the middleware afterwards. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
dealing with localized pathnames. What to do if a piece of content (url) does not exist in a particular language?
e.g.
Let's say this content does not exist in Italian (it). Simply deleting the entry leads to a build error.
What to do instead? Leave it the value empty?
My goal is to not generate unnecessary alternate hreflang links in the header.
Beta Was this translation helpful? Give feedback.
All reactions