Fix wrong HTML lang attribute on non-English pages (#1247)
This commit is contained in:
parent
e3ea6ccf8f
commit
a54d19e88e
|
@ -1,5 +1,4 @@
|
||||||
baseURL = "https://docs.joinmastodon.org/"
|
baseURL = "https://docs.joinmastodon.org/"
|
||||||
languageCode = "en-us"
|
|
||||||
defaultContentLanguage = "en"
|
defaultContentLanguage = "en"
|
||||||
title = "Mastodon documentation"
|
title = "Mastodon documentation"
|
||||||
pygmentsCodeFences = true
|
pygmentsCodeFences = true
|
||||||
|
@ -191,6 +190,7 @@ disablePathToLower = true
|
||||||
[languages.en]
|
[languages.en]
|
||||||
contentDir = "content/en"
|
contentDir = "content/en"
|
||||||
languageName = "English"
|
languageName = "English"
|
||||||
|
languageCode = "en-US"
|
||||||
weight = -99
|
weight = -99
|
||||||
|
|
||||||
[languages.pl]
|
[languages.pl]
|
||||||
|
@ -201,6 +201,7 @@ disablePathToLower = true
|
||||||
[languages.zh-cn]
|
[languages.zh-cn]
|
||||||
contentDir = "content/zh-cn"
|
contentDir = "content/zh-cn"
|
||||||
languageName = "简体中文"
|
languageName = "简体中文"
|
||||||
|
languageCode = "zh-CN"
|
||||||
weight = 1
|
weight = 1
|
||||||
|
|
||||||
[languages.ja]
|
[languages.ja]
|
||||||
|
|
Loading…
Reference in New Issue