Fix wrong HTML lang attribute on non-English pages (#1247)

This commit is contained in:
Avery 2023-12-08 10:42:09 -05:00 committed by GitHub
parent e3ea6ccf8f
commit a54d19e88e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,4 @@
baseURL = "https://docs.joinmastodon.org/"
languageCode = "en-us"
defaultContentLanguage = "en"
title = "Mastodon documentation"
pygmentsCodeFences = true
@ -191,6 +190,7 @@ disablePathToLower = true
[languages.en]
contentDir = "content/en"
languageName = "English"
languageCode = "en-US"
weight = -99
[languages.pl]
@ -201,6 +201,7 @@ disablePathToLower = true
[languages.zh-cn]
contentDir = "content/zh-cn"
languageName = "简体中文"
languageCode = "zh-CN"
weight = 1
[languages.ja]