From 4ab3de409e91c94b1501a21faa4c37d8b349ca4c Mon Sep 17 00:00:00 2001 From: rift <117926989+Riftriot@users.noreply.github.com> Date: Sun, 10 Nov 2024 22:25:59 -0600 Subject: [PATCH] theme image embed --- src/layouts/Layout.astro | 6 +- .../catalog/package/[...packageName].astro | 249 ++++++++++++------ 2 files changed, 176 insertions(+), 79 deletions(-) diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 591acb73..e6f301b5 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -7,9 +7,10 @@ interface Props { title: string; noHeader?: string; description?: string; + image: string; } -const { title, noHeader, description } = Astro.props; +const { title, noHeader, description, image } = Astro.props; --- @@ -22,6 +23,7 @@ const { title, noHeader, description } = Astro.props; content={description ? description : "Astro description"} /> +