From 427f441653255833b9bc32bec2de83e858a3967e Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Thu, 9 Jul 2026 00:06:42 -0400 Subject: fixed astro 7.0 issues --- src/pages/blog/tags/[tag].astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pages/blog') diff --git a/src/pages/blog/tags/[tag].astro b/src/pages/blog/tags/[tag].astro index 01bd03a..b0b0ccb 100644 --- a/src/pages/blog/tags/[tag].astro +++ b/src/pages/blog/tags/[tag].astro @@ -4,7 +4,7 @@ import {formatDate} from "../../../util"; import "../../../styles/cards.css"; export const prerender = true; export async function getStaticPaths() { - const allPosts = await Astro.glob('../../../content/blog/**/*.md'); + const allPosts = Object.values(import.meta.glob('../../../content/blog/**/*.md', { eager: true })); let uniqueTags = []; if (allPosts) { -- cgit v1.2.3