• CSS 52.7%
  • HTML 29.2%
  • JavaScript 9%
  • Nix 7.2%
  • Just 1.9%
Find a file
Simon Shine 3a638836de
All checks were successful
Build and push image / build-and-push (push) Successful in 1m40s
chore(content): drop the hero motto
- removes the vertical Chinese text from the hero; nothing else referenced it
2026-07-28 08:31:33 +02:00
.forgejo/workflows feat(ci): trigger a keel redeploy after pushing the image 2026-07-28 00:48:14 +02:00
archetypes feat: initial commit 2026-07-27 14:18:33 +02:00
content feat: initial commit 2026-07-27 14:18:33 +02:00
data feat: initial commit 2026-07-27 14:18:33 +02:00
nix fix(treefmt): exclude Hugo layouts in every theme, not just paper 2026-07-28 01:22:12 +02:00
static feat: initial commit 2026-07-27 14:18:33 +02:00
themes chore(theme): apply treefmt to the tealab assets 2026-07-28 01:22:12 +02:00
.envrc feat: initial commit 2026-07-27 14:18:33 +02:00
.gitignore feat(image): build and push an nginx OCI image to the Forgejo registry 2026-07-27 14:21:37 +02:00
flake.lock feat: initial commit 2026-07-27 14:18:33 +02:00
flake.nix feat(image): build and push an nginx OCI image to the Forgejo registry 2026-07-27 14:21:37 +02:00
hugo.toml chore(content): drop the hero motto 2026-07-28 08:31:33 +02:00
justfile chore(theme): apply treefmt to the tealab assets 2026-07-28 01:22:12 +02:00
README.md feat: initial commit 2026-07-27 14:18:33 +02:00

wuwai.dk

Source for wuwai.dk, a Hugo static site for WUWAI 物外 — Chinese Tea Lab. It ships with the in-repo paper theme under themes/paper/, a tactile, paper-textured design converted from the original brand mock.

The site is content-light by design: the landing page and the Approach page are laid out entirely by the theme and driven by configuration in hugo.toml plus the product list in data/products.toml — the markdown files carry front matter only.

How to preview

A justfile wraps the common workflows; run just (or just list) to see them all.

# Serve a live-reloading preview on http://127.0.0.1:1313/
just serve

# Verify the site (and formatting) builds reproducibly under Nix
nix flake check

# Build the site with the local hugo binary (output in ./public/)
just build

# Build the site through Nix (output symlinked to ./result/)
just build-nix

Editing the site

  • Colours, fonts, brand marks, banner, contact details live under [params] in hugo.toml.
  • Navigation is the [[menu.main]] list in hugo.toml.
  • Shop products live in data/products.toml — add, remove or reorder entries.
  • Pages live in content/ (_index.md is the landing page, approach.md is the Approach page). Both are front-matter only.

Theme

themes/paper/ is a standalone Hugo theme:

  • assets/css/tokens.css — the palette and type scale as CSS custom properties.
  • assets/css/site.css — the full layout.
  • assets/js/cart.js — the client-side selection drawer.
  • layouts/home.html, approach.html, shared partials.