mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-23 01:23:59 +00:00
hide hidden domains in hreflang head of html
This commit is contained in:
parent
48b7800c7f
commit
618935b643
1 changed files with 2 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue