mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:29:33 +08:00
Change glob
This commit is contained in:
@@ -5,7 +5,7 @@ import type { MarkdownInstance } from "astro";
|
||||
import slugify from "@utils/slugify";
|
||||
|
||||
const postImportResult = import.meta.glob<MarkdownInstance<Frontmatter>>(
|
||||
"../contents/*.md",
|
||||
"../contents/**/**/*.md",
|
||||
{
|
||||
eager: true,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user