added missing lang attribute
This commit is contained in:
parent
7d39c84461
commit
53915b7e49
4 changed files with 9 additions and 9 deletions
|
@ -8,7 +8,7 @@ import Footer from '../components/Footer.astro'
|
|||
const { pageTitle, locale } = Astro.props
|
||||
---
|
||||
|
||||
<html lang={locale} dir='ltr'>
|
||||
<html lang={locale ?? 'fr'} dir='ltr'>
|
||||
<Head pageTitle={pageTitle} />
|
||||
<body>
|
||||
<div class='wrapper'>
|
||||
|
|
|
@ -17,6 +17,6 @@ export async function getStaticPaths() {
|
|||
const { article } = Astro.props
|
||||
---
|
||||
|
||||
<BaseLayout pageTitle={article.data.title}>
|
||||
<BaseLayout locale={article.data.lang} pageTitle={article.data.title}>
|
||||
<EditorialContent content={article} />
|
||||
</BaseLayout>
|
||||
|
|
|
@ -17,6 +17,6 @@ export async function getStaticPaths() {
|
|||
const { fragment } = Astro.props
|
||||
---
|
||||
|
||||
<BaseLayout pageTitle={fragment.data.title}>
|
||||
<BaseLayout locale={fragment.data.lang} pageTitle={fragment.data.title}>
|
||||
<EditorialContent content={fragment} />
|
||||
</BaseLayout>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue