mirror of
https://github.com/tiennm99/blog.git
synced 2026-10-11 12:09:02 +00:00
8c82df90c97ad224e1693d6a790a13dec347a576
- search/list.html: Pagefind UI container + module init with full vi
i18n strings; loads /pagefind/pagefind-ui.{css,js} from generated dir
- search-button.html in header, gated by params.search.enable
- comments.html for Giscus, opt-in via params.comments.giscus.enable;
reads repo/repoId/category/categoryId/mapping/theme/lang from params
- giscus-theme.js: MutationObserver on data-theme, postMessage iframe
on toggle so Giscus theme stays in sync with site
- search.css: header-actions row, search button, Pagefind UI tokens
mapped to tsuki design tokens
- comments.css: min-block-size on iframe to prevent layout shift
- exampleSite/hugo.yaml: commented giscus params block as docs
- i18n/vi.yml: Pagefind UI strings (clear, loadMore, zeroResults...)
Both features no-op when disabled. CSS bundle 3.5 KB gz (budget 15).
Description
Source of miti99.com — personal blog (VN/EN) built with Hugo + Stack theme.
147 MiB
0 Stars
1 Watchers
0 Forks
Languages
JavaScript
59%
HTML
21.2%
CSS
15.6%
Shell
4.2%