tiennm99 f885af9e83 fix(ci): unbreak smoke + htmltest steps post v0.3.0
Three independent CI failures from run 25916500415:

1. Smoke test [linkToSection aria-label] fail on Hugo 0.146 leg.
   The assertion pinned to $post selected via `find ... | head -1`,
   which on 0.146 picked `doc-sach-quan-sat/index.html` — a post with
   zero h2/h3/h4 headings, so zero heading-anchor markup. Rewrite the
   check to scan all built post HTML (same pattern already in use for
   render-link rel). Now reports 13 matches on the demo build.

2. htmltest URLSwap silently never matched. The prior
   `^/tsuki/: /` config (added in d30f50f) used a regex anchor that
   doesn't match htmltest's substring evaluation against minified
   `href=/tsuki/...` attributes. Switch to the unanchored
   `"/tsuki/": /` form. CI has been failing on this since v0.2.0
   despite the "fix" commit; this is the real fix.

3. head.html referenced `/favicon.ico` and `/favicon.svg` but neither
   asset existed in exampleSite/static/. Add a minimal SVG favicon,
   drop the legacy .ico reference (modern browsers fall back to a
   site-rooted /favicon.ico by convention; sites needing one can
   override head.html). Switch the SVG link to `relURL` so the
   `/tsuki/` baseURL prefix is honoured under GitHub Pages subpath
   deploy.

Local validation: all 32 smoke checks green; favicon resolves to
`/tsuki/favicon.svg` and ships in the build artifact.
2026-05-15 20:18:26 +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%