Fix broken dependency
This commit is contained in:
7402
package-lock.json
generated
7402
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,5 @@
|
||||
---
|
||||
import { getCollection } from "astro:content";
|
||||
import BaseHead from "../components/BaseHead.astro";
|
||||
import Header from "../components/Header.astro";
|
||||
import Footer from "../components/Footer.astro";
|
||||
@@ -7,8 +8,7 @@ import Tags from "../components/Tags.astro";
|
||||
import { SITE_TITLE, SITE_DESCRIPTION } from "../config";
|
||||
import getTags from "../scripts/getTags";
|
||||
|
||||
const posts = await Astro.glob("../posts/*.md");
|
||||
|
||||
const posts = await getCollection("posts");
|
||||
const tags = getTags(posts);
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user