mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 19:51:07 +02:00
refactor: organize and categorize functions
This commit is contained in:
parent
f5526f8622
commit
d352b6fb65
13 changed files with 150 additions and 176 deletions
|
@ -11,7 +11,7 @@ export async function getStaticPaths() {
|
|||
|
||||
const { lang } = Astro.params
|
||||
const { tag } = Astro.props
|
||||
const posts = await getPostsByTag(tag)
|
||||
const posts = await getPostsByTag(tag, lang)
|
||||
const allTags = await getAllTags()
|
||||
---
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue