feat: 首页增加查看更多文章的链接

- 在首页的文章列表下方添加了一个“查看更多 →”的链接,指向 /posts/ 页面,方便用户浏览所有文章。
This commit is contained in:
KazooTTT
2025-04-02 12:40:09 +08:00
parent 1a49d28395
commit 1f48dedb16

View File

@ -72,6 +72,7 @@ const latestNotes = allNotes.sort(collectionDateSort).slice(0, MAX_NOTES);
)) ))
} }
</ul> </ul>
<a href="/posts/" class="hover:text-accent block text-right">查看更多 →</a>
</section> </section>
<!-- { <!-- {
latestNotes.length > 0 && ( latestNotes.length > 0 && (