hide hidden domains in hreflang head of html

This commit is contained in:
Henry Oswald 2016-05-04 22:00:43 +01:00
parent 48b7800c7f
commit 618935b643

View file

@ -23,7 +23,8 @@ html(itemscope, itemtype='http://schema.org/Product')
if settings.i18n.subdomainLang
each subdomainDetails in settings.i18n.subdomainLang
link(rel="alternate", href=subdomainDetails.url+currentUrl, hreflang=subdomainDetails.lngCode)
if !subdomainDetails.hide
link(rel="alternate", href=subdomainDetails.url+currentUrl, hreflang=subdomainDetails.lngCode)
meta(itemprop="name", content="ShareLaTeX, the Online LaTeX Editor")