mirror of
https://github.com/KazooTTT/kazoottt-blog-v2.git
synced 2025-06-16 23:41:20 +08:00
feat: 首页增加查看更多文章的链接
- 在首页的文章列表下方添加了一个“查看更多 →”的链接,指向 /posts/ 页面,方便用户浏览所有文章。
This commit is contained in:
@ -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 && (
|
||||||
|
Reference in New Issue
Block a user