Commit Graph
4 Commits
Author SHA1 Message Date
nxxy335top a0c64736eb first commit 2026-05-18 17:29:18 +08:00
Ryan Wang 6f1cede536 Expand README and tidy templates & VSCode settings
Replace the placeholder README with a full Chinese README for the Halo + Astro theme starter, adding rationale, architecture, dev/build instructions, directory layout, and usage notes. Also apply minor formatting/whitespace cleanups: adjust .vscode/settings.json formatting, collapse attributes on the category list div in src/pages/categories.astro, and remove an extra blank line in src/pages/category.astro. These are documentation and formatting changes only — no functional behavior changes.
2026-04-07 23:31:39 +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
Ryan Wang cf680c4d17 Refactor 2026-04-07 22:52:16 +08:00