Change glob

This commit is contained in:
elpekenin
2022-10-16 12:17:36 +02:00
parent 4fbe54450e
commit a256dedb73
7 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import getSortedPosts from "@utils/getSortedPosts";
import getPageNumbers from "@utils/getPageNumbers";
import type { Frontmatter } from "src/types";
const posts = await Astro.glob<Frontmatter>("../../contents/*.md");
const posts = await Astro.glob<Frontmatter>("../../contents/**/*.md");
const sortedPosts = getSortedPosts(posts);