From e2ccaf991fa61b114dabe517ba8f4e437d4bf67a Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Tue, 21 Feb 2023 17:34:12 +0100 Subject: [PATCH] feat(astro): migrate back link --- src/layouts/Layout.astro | 49 +++++++++++++++++++++++++++++++++------- 1 file changed, 41 insertions(+), 8 deletions(-) diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index e5dc608..775aba3 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,11 +1,12 @@ --- import '../styles/global.css'; +import { Sprite } from 'astro-icon'; export interface Props { title: string; } -const { title } = Astro.props; +const { title, frontmatter } = Astro.props; --- @@ -47,12 +48,44 @@ const { title } = Astro.props; /> - -
- -
- + + +
+ +
+
+ Footer +
+
+ +