Fix broken dependency

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

No files matched your search

+5474 -1928
View File
File diff suppressed because it is too large. Load diff
+2 -2
View File
@@ -1,4 +1,5 @@
--- ---
import { getCollection } from "astro:content";
import BaseHead from "../components/BaseHead.astro"; import BaseHead from "../components/BaseHead.astro";
import Header from "../components/Header.astro"; import Header from "../components/Header.astro";
import Footer from "../components/Footer.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 { SITE_TITLE, SITE_DESCRIPTION } from "../config";
import getTags from "../scripts/getTags"; import getTags from "../scripts/getTags";
const posts = await Astro.glob("../posts/*.md"); const posts = await getCollection("posts");
const tags = getTags(posts); const tags = getTags(posts);
--- ---