From eac5443fa7c4a8e3cbc45651dabbd22a1acc3329 Mon Sep 17 00:00:00 2001 From: Daveed Date: Tue, 10 Dec 2024 16:25:12 -0500 Subject: [PATCH] Better meta descriptions in layout --- src/layouts/Layout.astro | 12 ++++++++---- src/pages/[slug].astro | 9 ++++++++- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 0490f00..6373c50 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -18,9 +18,10 @@ export interface Props { scrollSmooth?: boolean; post?: CollectionEntry<"posts">; meta?: { - title: string; - image: string; - description: string; + title?: string; + image?: string; + description?: string; + url?: string; }; } @@ -122,7 +123,10 @@ const store = stores.find( /> +