Option to remove links with duplicated hreflangs
Currently, vue-head removes links with duplicated id (so if there was <link id="a"> rendered in source, and link with id: 'a' is rendered in runtime, then the previous one is removed).
I would really love if there was an option to also remove duplicated by hreflang attribute, so if there's a link like so in source:
<html>
<head>
<link hreflang="en-GB"/>
</head>
and I have this in my Head.js:
{
rel: 'alternate',
hreflang: 'en-GB'
}
then the previous one (rendered in source) would also be deleted, just like it is deleted now if id are duplicated.
It can be a flag set in vue-head or in config.
Waiting for your answer.
I am developing vue-head v3 and I am adding several features it does not currently have, including the correct use of hreflang.
I don't have an exact forecast of when it will be released, but it will be in early 2020.
cool, can't wait :)