mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-22 19:17:46 +02:00
fix(dev-server): use correct dev server HTML lang attribute (#11271)
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
This commit is contained in:
parent
ee332e951d
commit
a94fdbe21c
2 changed files with 2 additions and 1 deletions
|
@ -117,6 +117,7 @@ export async function createStartClientConfig({
|
||||||
headTags,
|
headTags,
|
||||||
preBodyTags,
|
preBodyTags,
|
||||||
postBodyTags,
|
postBodyTags,
|
||||||
|
lang: props.i18n.localeConfigs[props.i18n.currentLocale]!.htmlLang,
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="<%= htmlWebpackPlugin.options.lang %>">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="generator" content="Docusaurus">
|
<meta name="generator" content="Docusaurus">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue