ErgArcade - a collection of tools, utilities and games for use on Concept2 Ergometers.
Built with Hugo (single Go binary, no Node/npm). Deployed
to GitHub Pages via GitHub Actions on every push to master
(static/CNAME → ergarcade.com).
hugo server -D— local dev server with live reload.hugo --minify— production build intopublic/(gitignored).- Homepage shows a capped preview (3 entries) of each category — Tools,
Visualisations, Articles — with a "View all" link to
/tools/,/visualisations/, or/articles/once a category outgrows the cap. - Chart articles under
content/articles/use Apache ECharts, loaded from jsDelivr with a pinned version and Subresource Integrity hash (configured once inhugo.toml) — no vendored/local copies. - Light/dark theme:
static/js/theme-toggle.jsplus CSS custom properties instatic/style.css. Defaults to the OS preference (prefers-color-scheme), overridable per-visitor via the toggle button (persisted inlocalStorage). - No linter or test framework is configured; verify changes with
hugo server -Dand checking pages in a browser, then confirmhugo --minifybuilds clean. - To add a thumbnail to a tool/visualisation/article card, see "Adding a card
thumbnail" in
CLAUDE.md.
See CLAUDE.md for the full content/template layout.