Commit Graph
25 Commits
Author SHA1 Message Date
tiennm99 c965656cb5 feat(redirects): send old Stack URLs to their tsuki URLs
Generate a Cloudflare Pages _redirects file with 301s from the old
/post/YYYY/MM/DD/ post URLs and the old pagination pages. The rules are
temporary and marked for removal once the old URLs stop getting traffic.
2026-10-04 11:03:20 +07:00
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
tiennm99 c121fbf91b chore: follow the miti99 -> blog repo rename 2026-08-31 17:30:27 +07:00
tiennm99 2f1c61c1a8 Update hugo.yml 2025-11-08 12:54:10 +07:00
tiennm99 073188642a Update permalinks.yml 2025-11-08 11:11:39 +07:00
tiennm99 1b9611456c Update menu.yml 2025-10-19 17:40:00 +07:00
tiennm99 41fe5beefc Add new avatar image and update config reference
Replaced the avatar image source in the configuration from 'img/avatar.jpg' to 'img/avatar.png' and added the new PNG avatar image to the assets.
2025-10-04 06:37:25 +07:00
tiennm99 94100b6a41 Update configs, social links, and about page content
Refactored Hugo workflow to simplify version handling. Improved .gitignore for better coverage. Removed unused social icons and verification file. Updated site configs for base URL, markup, menu (added GitLab, removed YouTube/X), and comment system. Enhanced about page with current work info and clarified blog purpose.
2025-09-28 12:30:44 +07:00
tiennm99 fae07142c2 Refactor config files for pagination and permalinks
Moved pagination settings to a separate pagination.yml file and updated permalinks.yml to enable custom post and page URLs. Cleaned up hugo.yml by removing inline pagination configuration.
2025-09-28 11:55:32 +07:00
tiennm99 50652c9912 Update hugo.yml 2025-08-31 10:22:17 +07:00
tiennm99 baf663fb4f Fix typo in sidebar subtitle
Corrected 'want' to 'wants' in the sidebar subtitle for improved grammar.
2025-07-27 22:51:55 +07:00
tiennm99 84319ba90b feat: update hugo config 2025-05-10 23:48:53 +07:00
tiennm99 a9ef2a179e feat: update cache in github action build 2025-05-01 09:32:14 +07:00
tiennm99 9e8116b1db feat: update googel analytics 2025-04-30 23:35:51 +07:00
tiennm99 a7333b648a feat: update google analytics & google tag manager 2025-04-30 22:26:16 +07:00
tiennm99 02f23618df Update params.yml 2025-03-13 21:00:45 +07:00
tiennm99 753f9f8524 feat: remove gitlab 2025-03-08 00:20:52 +07:00
tiennm99 2a330ccfad feat: remove x & youtube 2025-03-08 00:19:24 +07:00
tiennm99 b7c52990ee feat: update timeZone 2025-03-08 00:06:10 +07:00
tiennm99 3833f39e82 feat: update menu 2025-03-07 01:44:39 +07:00
tiennm99 0c76c14f82 feat: robots.txt 2025-03-04 22:15:53 +07:00
tiennm99 2bbb865736 ci: increase timeout 2025-02-23 16:41:56 +07:00
tiennm99 e44b1cda6f fix: ci 2025-02-16 23:03:57 +07:00
tiennm99 e572a5d9fd [Core] (Change) theme color to dark
To fix flash screen when change page
2024-12-22 13:56:25 +07:00
tiennm99 d68d11a859 [Config] (Change) split into multi config files 2024-12-21 17:05:58 +07:00