refactor: organize and categorize functions

This commit is contained in:
radishzzz 2025-03-14 16:18:17 +00:00
parent f5526f8622
commit d352b6fb65
13 changed files with 150 additions and 176 deletions

View file

@ -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()
---