mirror of
https://github.com/tiennm99/miti99.git
synced 2026-08-04 23:11:44 +00:00
- Replace hugo-theme-stack submodule with tsuki - 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.
4 lines
93 B
Plaintext
4 lines
93 B
Plaintext
[submodule "themes/tsuki"]
|
|
path = themes/tsuki
|
|
url = https://github.com/tiennm99/tsuki.git
|