fix: correctly set the lang

pull/283/head
Eduardo San Martin Morote 5 years ago
parent 77f144a0c7
commit 7e1f265eb8

@ -47,6 +47,7 @@ export function resolveSiteDataByRoute(siteData: SiteData, route: string) {
// clean the locales to reduce the bundle size // clean the locales to reduce the bundle size
locales: {} locales: {}
}, },
lang: localeThemeConfig.lang || siteData.lang,
locales: {} locales: {}
} }
} }

Loading…
Cancel
Save