diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-01-19 14:45:06 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-01-19 14:47:40 +0100 |
| commit | 1fa8d8281371db25ef9382b6087b7f3c0db73fe3 (patch) | |
| tree | 898aee1e9a23c06e9658de240474d90870190e68 /src/pages/index.tsx | |
| parent | a26b775b7bbf1abd3e99c8bf9ce4c7522d3a0adc (diff) | |
refactor(config): move defaultLocale as property of config.locales
I will need the country code, so I think it makes more sense to gather
them inside the same property.
Diffstat (limited to 'src/pages/index.tsx')
| -rw-r--r-- | src/pages/index.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/index.tsx b/src/pages/index.tsx index f59602f..32f1373 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -101,7 +101,7 @@ const Home: NextPageWithLayout = () => { author: { '@id': `${config.url}/#branding` }, creator: { '@id': `${config.url}/#branding` }, editor: { '@id': `${config.url}/#branding` }, - inLanguage: config.defaultLocale, + inLanguage: config.locales.defaultLocale, license: 'https://creativecommons.org/licenses/by-sa/4.0/deed.fr', reviewedBy: { '@id': `${config.url}/#branding` }, url: `${config.url}`, |
