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
@@ -10,7 +10,7 @@ import slugify from "@utils/slugify";
import type { Frontmatter } from "src/types";
import Socials from "@components/Socials.astro";
const posts = await Astro.glob<Frontmatter>("../contents/*.md");
const posts = await Astro.glob<Frontmatter>("../contents/**/*.md");
const sortedPosts = getSortedPosts(posts);
---