---
import SinglePageBlogMode from "./SinglePageBlogMode.astro";
import MainLayout from "./MainLayout.astro";

const { title, description, language, openGraph } = Astro.props;
---

<MainLayout
  title=`${title} @ Cyril Šebek`
  description={description}
  lang={language}
  openGraph={openGraph}
>
  <SinglePageBlogMode>
    <slot />
  </SinglePageBlogMode>
</MainLayout>
