mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Preload the translations for the current language (#16430)
Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com> GitOrigin-RevId: c5500d0b7e8d0c99ed09751a35140a0b62182318
This commit is contained in:
committed by
Copybot
co-authored by
Jakob Ackermann
parent
4668dfd7ab
commit
51b8e9b2e4
@@ -24,6 +24,9 @@ html(
|
||||
each subdomainDetails in settings.i18n.subdomainLang
|
||||
if !subdomainDetails.hide
|
||||
link(rel="alternate", href=subdomainDetails.url+currentUrl, hreflang=subdomainDetails.lngCode)
|
||||
|
||||
if (entrypoint !== 'marketing')
|
||||
link(rel="preload", href=buildJsPath(currentLngCode + "-json.js"), as="script", nonce=scriptNonce)
|
||||
|
||||
//- Scripts
|
||||
include _google_analytics
|
||||
|
||||
Reference in New Issue
Block a user