1
0

Surround fieldday pages with article tags.

This commit is contained in:
PA4KEV 2024-02-11 18:51:25 +01:00
parent e5787bd3cb
commit 1e98be02d6

View File

@ -114,7 +114,7 @@ function App() {
return dates.map(date => {
const path = `/${lang}/radio/fielddays/${date}`;
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();