From 08e8a06b8735c89db26a85ead0d3284d56762c82 Mon Sep 17 00:00:00 2001 From: Graham Hall Date: Sat, 24 Feb 2024 14:09:00 -0500 Subject: [PATCH] fix /now page title --- src/layouts/Layout.astro | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); ---