tiennm99
|
143b6a7bf9
|
chore: migrate to tsuki theme
- Replace the hugo-theme-stack submodule with the tsuki theme vendored in
themes/tsuki; drop .gitmodules
- config/_default/hugo.yml: theme: tsuki
- config/_default/permalinks.yml: keep /p/:slug/ for posts to preserve
existing URLs (matches Stack default)
- config/_default/markup.yml: add parser.autoHeadingIDType: github-ascii
for ASCII heading slugs
- config/_default/params.yml: add tsuki-required keys (search.enable,
home.recentPostsCount); restructure comments.giscus to tsuki schema
(repoId/categoryId lowercase, theme, lang, etc.). Stack-only params
kept for now in case of rollback (silently ignored by tsuki).
- Move content/page/archives -> content/archives (tsuki uses kind=section)
- Move content/page/search -> content/search (drop json output;
Pagefind index built in CI replaces Fuse.js search)
- Add data/profile.yaml driving the homepage hero
- Copy assets/img/avatar.png -> static/img/ for tsuki's relURL resolution
Verified: 717 pages build clean, 280 aliases preserve old URLs.
Posts at /p/<slug>/, comments + TOC + archives + search all render.
|
2026-10-04 10:56:03 +07:00 |
|