diff --git a/src/components/Head.astro b/src/components/Head.astro index 3a49d54..134c8e1 100644 --- a/src/components/Head.astro +++ b/src/components/Head.astro @@ -14,11 +14,12 @@ interface Props { title: string; description: string; image?: string; + redirect?: string; } const canonicalURL = new URL(Astro.url.pathname, Astro.site); -const { title, description, image = "/nano.png" } = Astro.props; +const { title, description, image = "/nano.png", redirect } = Astro.props; --- @@ -57,6 +58,13 @@ const { title, description, image = "/nano.png" } = Astro.props; +{redirect ? ( + +) : null} +