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
@@ -8,7 +8,7 @@ import Search from "@components/Search";
import type { Frontmatter } from "src/types";
// Retrieve all articles
const posts = await Astro.glob<Frontmatter>("../contents/*.md");
const posts = await Astro.glob<Frontmatter>("../contents/**/*.md");
// List of items to search in
const searchList = posts