mirror of
https://github.com/tiennm99/blog.git
synced 2026-10-12 20:15:41 +00:00
6a3ca88fa42b8df64233a0ddd253451ac4a5eb3e
scripts/smoke-tests.sh: - Per-kind CSS budget (home/post/list/archives/search), each ≤ 4200 B gz - theme-color light/dark meta tags - aria-pressed SSR on theme-toggle - breadcrumbs nav + BreadcrumbList JSON-LD presence on post, absence on home - prev/next nav + rel=prev attribute - linkToSection aria-label on heading anchors - Speculation Rules absent by default - llm.txt artifact present - Pagefind UI preload-swap pattern on /search/ - Giscus preconnect gating (absent when comments disabled) - Per-kind CSS bundle routing (home loads home.css but not single.css; post loads single.css but not home.css) - code-copy.js gating (post loads it, home does not) .github/workflows/pages.yml: - Build matrix on Hugo 0.146.0 (theme.toml floor) + 0.154.0 (current). Smoke + htmltest run on both. Artifact upload + deploy gated on the current version only. - Drop the redundant standalone CSS-budget step; smoke-tests.sh now enforces per-kind budgets.
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 schemeconfig/_default/menu.toml— navigation linksassets/— custom CSS/JS overrides loaded on top of the Stack themelayouts/— 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.
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%