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 +- src/styles/cards.css | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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) { diff --git a/src/styles/cards.css b/src/styles/cards.css index 7376a54..eb07f3a 100644 --- a/src/styles/cards.css +++ b/src/styles/cards.css @@ -15,7 +15,6 @@ .card { background-color: #3B513B; - drop-shadow(2px 3px 5px black); padding: 1.2em; border-radius: 20px; gap: 0.5em; -- cgit v1.2.3