Surround fieldday pages with article tags.
This commit is contained in:
parent
e5787bd3cb
commit
1e98be02d6
@ -114,7 +114,7 @@ function App() {
|
|||||||
return dates.map(date => {
|
return dates.map(date => {
|
||||||
const path = `/${lang}/radio/fielddays/${date}`;
|
const path = `/${lang}/radio/fielddays/${date}`;
|
||||||
const mdPath = `Radio/fielddays/${lang}/${date}.md`;
|
const mdPath = `Radio/fielddays/${lang}/${date}.md`;
|
||||||
return <Route key={`${lang}-${date}`} exact path={path} element={<MarkdownPage md={mdPath} />} />;
|
return <Route key={`${lang}-${date}`} exact path={path} element={<article className="main-page"><MarkdownPage md={mdPath} /></article>} />;
|
||||||
});
|
});
|
||||||
}).flat();
|
}).flat();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user