Skip to content

Commit 4f2b977

Browse files
committed
add Accept-Language metadata for sites
1 parent 6bc4eab commit 4f2b977

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

docusaurus.config.en.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,9 @@ const config = {
237237
themeConfig:
238238
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
239239
({
240+
metadata: [
241+
{name: 'Accept-Language', content: 'en-US,en;q=0.9'},
242+
],
240243
algolia: {
241244
appId: "5H9UG7CX5W",
242245
apiKey: "4a7bf25cf3edbef29d78d5e1eecfdca5",

docusaurus.config.jp.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,9 @@ const config = {
202202
themeConfig:
203203
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
204204
({
205+
metadata: [
206+
{name: 'Accept-Language', content: 'ja-JP,ja;q=0.9'},
207+
],
205208
algolia: {
206209
appId: "5H9UG7CX5W",
207210
apiKey: "4a7bf25cf3edbef29d78d5e1eecfdca5",

docusaurus.config.ru.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,9 @@ const config = {
204204
themeConfig:
205205
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
206206
({
207+
metadata: [
208+
{name: 'Accept-Language', content: 'ru-RU,ru;q=0.9'},
209+
],
207210
algolia: {
208211
appId: "5H9UG7CX5W",
209212
apiKey: "4a7bf25cf3edbef29d78d5e1eecfdca5",

docusaurus.config.zh.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,9 @@ const config = {
202202
themeConfig:
203203
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
204204
({
205+
metadata: [
206+
{name: 'Accept-Language', content: 'zh-CN,zh;q=0.9'},
207+
],
205208
algolia: {
206209
appId: "5H9UG7CX5W",
207210
apiKey: "4a7bf25cf3edbef29d78d5e1eecfdca5",

0 commit comments

Comments
 (0)