Hugo blog with a custom minimal theme that mirrors the design of
pengyuc.com — same tokens (#FAFAF8 / #0B0C0E, mono
chrome + sans prose, 672px column, hairline borders), system-aware dark mode.
hugo server # http://localhost:1313
hugo --minify # production build into public/Deploys automatically to GitHub Pages on push to main
(.github/workflows/deploy.yaml).
hugo new content posts/my-post.mdMath posts opt into KaTeX by placing {{</* katex */>}} once anywhere in the
body; inline math is \\(...\\), display math is $$...$$.
No external theme — everything lives in this repo:
layouts/— baseof, home (intro + posts by year), page, section, 404, partials, and thekatexshortcodeassets/css/main.css— design tokens and all stylingassets/css/chroma.css— generated syntax palettes (hugo gen chromastyles --style=github/github-dark, dark scoped underhtml.dark)
/syndicate [post] (Claude Code skill in .claude/skills/syndicate/) drafts
platform-tuned social posts into social/<slug>.md:
- Threads — 繁體中文(台灣), ≤500 chars
- X — English, ≤280
- X — 日本語, ≤280 weighted (CJK ×2)
Review, paste, then check off the Posted boxes.