adjusting category url path

This commit is contained in:
zepp 2025-03-16 20:32:13 -04:00
parent 7b0018abc1
commit 66445718ae

View File

@ -18,6 +18,6 @@ const { frontmatter } = Astro.props;
<BasicLayout> <BasicLayout>
<h1>{frontmatter.title}</h1> <h1>{frontmatter.title}</h1>
{frontmatter.categoryPage ? <a href="../">go back to {frontmatter.category} - category</a> : ""} {frontmatter.categoryPage ? <a href="../../">go back to {frontmatter.category} - category</a> : ""}
<slot /> <slot />
</BasicLayout> </BasicLayout>