2 Commits
Author SHA1 Message Date
nxxy335top a0c64736eb first commit 2026-05-18 17:29:18 +08:00
Ryan Wang 184ff9351d Extract post list into reusable fragment
Add public/fragments/post-list.html containing the shared post list markup, and update src/pages/category.astro and src/pages/index.astro to replace the in-file duplicate list with <th:block th:replace="~{fragments/post-list}"></th:block>. This removes duplicated template code and centralizes the post list for easier maintenance; existing empty-feed and pagination logic remain unchanged.
2026-04-07 23:26:08 +08:00