diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 0ff5ba3..eea97f4 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -8,7 +8,9 @@ export interface Props { title: string; } -const title = Astro.props.title; +const title = Astro.props.title || Astro.props.frontmatter.title; + +console.log(Astro.props); ---