From 7039f2b324b43b29d74be4cce65ba62c809018ef Mon Sep 17 00:00:00 2001 From: zepp Date: Tue, 4 Mar 2025 02:14:20 -0500 Subject: [PATCH] code cleanup make better use of props and layouts to cut down on repeat boilerplate. correct typo in pets.md description --- src/layouts/PicrewLayout.astro | 3 +- src/pages/life/interests/index.astro | 23 +---- src/pages/life/self/entries/pets.md | 2 +- src/pages/life/sunshine/index.astro | 23 +---- src/pages/site/guestbook.astro | 140 ++++++++++++--------------- 5 files changed, 76 insertions(+), 115 deletions(-) diff --git a/src/layouts/PicrewLayout.astro b/src/layouts/PicrewLayout.astro index 566e219..bfc05d9 100644 --- a/src/layouts/PicrewLayout.astro +++ b/src/layouts/PicrewLayout.astro @@ -13,8 +13,7 @@ const borderColorDark = "#474973"; const { frontmatter } = Astro.props; --- - -

{frontmatter.title}

+