adjusted glob

This commit is contained in:
Luke Hagar
2025-05-29 15:36:08 -05:00
parent 36aba527cd
commit f920e3dd88

View File

@@ -11,7 +11,7 @@ export interface BlogPost {
}
// Get all blog post files
const allPostFiles = import.meta.glob('/src/lib/posts/*.md');
const allPostFiles = import.meta.glob('$lib/posts/*.md');
// Parse frontmatter and extract metadata only
const parsePostMetadata = async (filename: string, module: any): Promise<BlogPost> => {