HrefLang Tag addition
Hi,
I need the add the link :
<link rel="alternate" href="http://example.com" hreflang="en-us" />
like this.
So, i added the property for href as 'hrefLangTag' and hreflang as 'region'
FYI,
<sly data-sly-list.href="${properties['hrefLangTag']}" data-sly-test.spec="${properties['region']}">
<link rel="alternate" href="${href}" hreflang="${spec}"></link>
</sly>
i used the code like above.. it was adding the <link> 16 times..
Help me to resolve this,
Example - 4 link we have. it gives the result 16 links
How to iterate only using href.
Thanks,