fix: update styling

This commit is contained in:
Barrett Ruth 2025-11-10 23:21:21 -05:00
parent 161d0a65e2
commit 964cdc7d31
7 changed files with 158 additions and 14 deletions

View file

@ -32,7 +32,7 @@ interface Props {
const { post } = Astro.props;
const category = Astro.params.category;
const { Content } = await post.render();
const { Content, headings } = await post.render();
const pageTitle = `${category}/${post.data.title ?? post.slug}`;
if (post.data?.redirect) {
@ -40,7 +40,7 @@ if (post.data?.redirect) {
}
---
<PostLayout frontmatter={post.data} post={post}>
<PostLayout frontmatter={post.data} post={post} headings={headings}>
<Fragment slot="head">
<title>{pageTitle}</title>
<script src="/scripts/index.js" is:inline></script>