feat: Improve tag pages and article tag display

This commit is contained in:
radishzzz 2025-03-05 04:54:42 +00:00
parent b5bf2883cf
commit f96af1b102
18 changed files with 422 additions and 315 deletions

View file

@ -9,8 +9,8 @@ export async function getStaticPaths() {
}
const { lang } = Astro.params
const { tags } = Astro.props
const posts = await getPostsByTag(tags)
const { tag } = Astro.props
const posts = await getPostsByTag(tag)
const allTags = await getAllTags()
---