diff options
Diffstat (limited to 'src/components/PostPreview')
| -rw-r--r-- | src/components/PostPreview/PostPreview.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
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', |
