update: optimize the ordering of top posts and tags

This commit is contained in:
radishzzz 2025-03-10 00:39:44 +00:00
parent 4fc12b804c
commit 0402ac4c09
14 changed files with 48 additions and 67 deletions

View file

@ -1,7 +1,7 @@
---
import PostTitleList from '@/components/PostTitleList.astro'
import Layout from '@/layouts/Layout.astro'
import { getPinnedPosts, getPostsByYear } from '@/utils/content'
import PostTitleList from '@/components/PostTitleList.astro'
const pinnedPosts = await getPinnedPosts()
const postsByYear = await getPostsByYear()