mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 19:51:07 +02:00
feat: Improve tag pages and article tag display
This commit is contained in:
parent
b5bf2883cf
commit
f96af1b102
18 changed files with 422 additions and 315 deletions
|
@ -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()
|
||||
---
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue