--- import DefaultLayout from "../../layouts/DefaultLayout.astro"; import Hero from "../../components/hero/Hero.astro"; import SectionRenderer from "../../components/sections/SectionRenderer.astro"; import Markdown from "../../islands/Markdown.jsx"; import yaml from "js-yaml"; import fs from "fs"; const seo = yaml.load( fs.readFileSync("./src/content/internet-swiatlowodowy/seo.yaml", "utf8"), ); const hero = yaml.load( fs.readFileSync("./src/content/internet-swiatlowodowy/hero.yaml", "utf8"), ); const page = yaml.load( fs.readFileSync("./src/content/internet-swiatlowodowy/page.yaml", "utf8"), ); const first = page.paragraphs[0]; ---
{page.title.map((line: any) =>

{line}

)} {first.title &&

{first.title}

}
{ page.paragraphs.slice(1).map((p: { title: string; content: string }) => (
{p.title &&

{p.title}

} {p.content .trim() .split(/\n\n+/) .map((par: string) => ( ))}
)) }