--- import { getCollection } from 'astro:content' import NavbarLayout from "../layouts/NavbarLayout.astro"; import {astroI18n, createGetStaticPaths} from "astro-i18n"; import localBau from "../images/2023-10-08_20.43.43.png"; import {Image} from "astro:assets"; export const getStaticPaths = createGetStaticPaths(async () => { let posts = await getCollection("pages"); return posts.filter(value => value.id.split("/")[0] === astroI18n.locale).map((page) => ({ props: { page }, params: { slug: page.slug } }) ) }) const { page } = Astro.props; const { Content } = await page.render(); ---
Bau

{page.data.title}