diff options
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/Layouts/Layout.tsx | 2 | ||||
| -rw-r--r-- | src/components/PostPreview/PostPreview.tsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/components/Layouts/Layout.tsx b/src/components/Layouts/Layout.tsx index 2e7d255..1ca954a 100644 --- a/src/components/Layouts/Layout.tsx +++ b/src/components/Layouts/Layout.tsx @@ -34,7 +34,7 @@ const Layout = ({ copyrightYear: Number(config.copyright.startYear), creator: { '@id': `${config.url}/#branding` }, editor: { '@id': `${config.url}/#branding` }, - inLanguage: config.defaultLocale, + inLanguage: config.locales.defaultLocale, potentialAction: { '@type': 'SearchAction', target: `${config.url}/recherche?s={query}`, diff --git a/src/components/PostPreview/PostPreview.tsx b/src/components/PostPreview/PostPreview.tsx index 2a0bcf1..47dbe5e 100644 --- a/src/components/PostPreview/PostPreview.tsx +++ b/src/components/PostPreview/PostPreview.tsx @@ -45,7 +45,7 @@ const PostPreview = ({ datePublished: publicationDate.toISOString(), editor: { '@id': `${config.url}/#branding` }, image: post.featuredImage?.sourceUrl, - inLanguage: config.defaultLocale, + inLanguage: config.locales.defaultLocale, isBasedOn: `${config.url}/article/${post.slug}`, isPartOf: { '@id': `${config.url}/blog` }, license: 'https://creativecommons.org/licenses/by-sa/4.0/deed.fr', |
