Fix broken dependency

This commit is contained in:
Cassidy Williams
2024-12-14 10:08:56 -06:00
parent 188c167625
commit 1d5278e6a2
2 changed files with 5476 additions and 1930 deletions

7402
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -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);
---