This commit is contained in:
2025-04-28 02:18:59 -06:00
parent ae10c14cc8
commit 5a9a02b772
3 changed files with 45 additions and 42 deletions

View File

@ -3,14 +3,12 @@ import { join } from "@std/path";
const POSTS_DIR = "./posts";
// This is what gets parsed from the post front matter
interface FrontMatter {
title: string;
published_at: string;
blurb: string;
}
// This is what gets used for rendering
export interface Post {
slug: string;
title: string;