install/setup sass

This commit is contained in:
2025-11-22 21:01:20 -05:00
parent fb99d9cfef
commit 67d8178270
31 changed files with 442 additions and 282 deletions
+26
View File
@@ -0,0 +1,26 @@
---
import type { CollectionEntry } from "astro:content";
import BlogHeader from "./BlogHeader.astro";
import Tags from "./Tags.astro";
interface Props {
post: CollectionEntry<"blog">;
}
const { post } = Astro.props;
---
<article>
<BlogHeader title={post.data.title} date={post.data.pubDate} slug={post.id} />
<Tags tags={post.data.tags} />
</article>
<style lang="scss">
article {
padding-bottom: 20px;
}
article:not(:first-child) {
border-top: var(--border);
}
</style>