Add EsLint
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
---
|
||||
import {getCollection} from 'astro:content'
|
||||
import {astroI18n, createGetStaticPaths, t} from "astro-i18n";
|
||||
import {getCollection} from "astro:content";
|
||||
import {astroI18n, createGetStaticPaths} from "astro-i18n";
|
||||
import PageLayout from "../layouts/PageLayout.astro";
|
||||
import LanguageWarning from "../components/LanguageWarning.astro";
|
||||
|
||||
@ -22,14 +22,13 @@ export const getStaticPaths = createGetStaticPaths(async () => {
|
||||
params: {
|
||||
slug: fixLink(page.slug)
|
||||
}
|
||||
}) )
|
||||
})
|
||||
}));
|
||||
});
|
||||
|
||||
const { page } = Astro.props;
|
||||
const { Content } = await page.render();
|
||||
---
|
||||
|
||||
|
||||
<PageLayout title={page.data.title}>
|
||||
<article>
|
||||
{page.data.german && (
|
||||
|
||||
Reference in New Issue
Block a user