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 : ""}