tiennm99 b2834749c9 feat: v0.3.0 — Tier A parity, per-kind CSS, llm.txt, a11y baseline
Headline outcomes:
- Feature parity with Stack/PaperMod on Tier A polish: breadcrumbs
  (+BreadcrumbList JSON-LD), prev/next post navigation (rel=prev/next),
  language switcher UI (gated on hugo.IsMultilingual), code-copy button
  polish, <details> styling.
- Per-page-kind CSS bundles: core loads everywhere; home/single/archive/
  search bundles load only where needed. Frees ~1 KB gz from non-post
  pages. code-copy.js gated to post pages.
- Lighthouse-relevant network polish: Pagefind UI CSS preload-swap,
  conditional preconnect to giscus.app on comment-enabled posts,
  hreflang alternates on multilingual sites, <meta name=theme-color>
  light/dark variants, aria-pressed SSR-rendered on theme-toggle.
- WCAG AA contrast: --tsuki-fg-subtle darkened to #6b6b6b (light); was
  3.54:1 on bg, now 5:1. Pagination disabled uses --tsuki-fg-muted
  without opacity compound. Header tap targets bumped to 40×40; pagination
  to 44×44.
- i18n: full i18n/en.yml mirror (~50 keys); render-heading aria-label
  i18n-driven via linkToSection key; new keys for breadcrumb*, prevPost,
  nextPost, copyCode, copiedCode.
- Discovery: /llm.txt output format (llmstxt.org) on home; Speculation
  Rules opt-in via params.prefetch.enable.
- <html lang> fallback: site.Language.LanguageCode → Lang → "en"
  (was hard-coded "vi").

Per-kind bundle gz sizes on demo: home 3673 / post 4167 / list 2897 /
archives 3363 / search 3179 B (all under 4200 B cap).

Plan: plans/260510-0144-tsuki-v0.3.0/
2026-05-15 18:55:47 +07:00
2025-11-08 12:54:10 +07:00
2024-12-21 14:32:57 +07:00
2023-09-17 10:26:32 +07:00
2026-01-18 12:28:13 +07:00

miti99

Source of miti99.com — personal blog (VN/EN) built with Hugo and the Stack theme.

Quick start

git submodule update --init --recursive
hugo server -D

Site available at http://localhost:1313.

Content structure

Posts live under content/post/YYYY/MM/DD/index.md. Each post is a Hugo leaf bundle — images and assets sit next to index.md in the same directory.

content/
  post/
    2024/
      03/
        15/
          index.md     ← post content (Vietnamese / English)
          cover.jpg    ← optional cover image
  page/                ← standalone pages (about, projects, …)

Theme customization

Theme config lives in config/ (Hugo config directory split). Key overrides:

  • config/_default/params.toml — sidebar, avatar, footer, color scheme
  • config/_default/menu.toml — navigation links
  • assets/ — custom CSS/JS overrides loaded on top of the Stack theme
  • layouts/ — template overrides (add a file here to override any Stack partial)

The Stack theme is pulled in as a git submodule under themes/hugo-theme-stack/.

License

Apache-2.0 — see LICENSE.

S
Description
Source of miti99.com — personal blog (VN/EN) built with Hugo + Stack theme.
Readme Apache-2.0
147 MiB
0 Stars 1 Watchers 0 Forks
Languages
JavaScript 59%
HTML 21.2%
CSS 15.6%
Shell 4.2%