Fix broken dependency
This commit is contained in:
1 parent
188c167625
commit
1d5278e6a2
2 files changed
+5476
-1930
No files matched your search
Generated
+5474
-1928
File diff suppressed because it is too large.
Load diff
+2
-2
@@ -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);
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user