From 7b0018abc1ded92d13d98c3525d34650e4a67eda Mon Sep 17 00:00:00 2001 From: zepp Date: Sun, 16 Mar 2025 19:40:05 -0400 Subject: [PATCH] add back to category page for all category pages --- src/layouts/MarkdownLayout.astro | 7 +++++++ src/layouts/PicrewLayout.astro | 5 +++++ src/pages/life/interests/entries/music.md | 2 ++ src/pages/life/interests/entries/photography.md | 2 ++ src/pages/life/interests/entries/technology.md | 2 ++ src/pages/life/self/entries/goals.md | 2 ++ src/pages/life/self/entries/pets.md | 2 ++ src/pages/life/self/entries/picrew.md | 2 ++ src/pages/life/self/entries/todo.md | 2 ++ src/pages/life/sunshine/entries/journalling.md | 2 ++ src/pages/life/sunshine/entries/positive-traits.md | 2 ++ 11 files changed, 30 insertions(+) diff --git a/src/layouts/MarkdownLayout.astro b/src/layouts/MarkdownLayout.astro index 4ef0546..d4110aa 100644 --- a/src/layouts/MarkdownLayout.astro +++ b/src/layouts/MarkdownLayout.astro @@ -8,9 +8,16 @@ const { frontmatter } = Astro.props; {frontmatter.title} + +

{frontmatter.title}

+ {frontmatter.categoryPage ? go back to {frontmatter.category} - category : ""}
\ No newline at end of file diff --git a/src/layouts/PicrewLayout.astro b/src/layouts/PicrewLayout.astro index bfc05d9..0abf48c 100644 --- a/src/layouts/PicrewLayout.astro +++ b/src/layouts/PicrewLayout.astro @@ -14,6 +14,7 @@ const { frontmatter } = Astro.props; --- + {frontmatter.categoryPage ? go back to {frontmatter.category} - category : ""}