- CSS 52.7%
- HTML 29.2%
- JavaScript 9%
- Nix 7.2%
- Just 1.9%
|
All checks were successful
Build and push image / build-and-push (push) Successful in 1m40s
- removes the vertical Chinese text from the hero; nothing else referenced it |
||
|---|---|---|
| .forgejo/workflows | ||
| archetypes | ||
| content | ||
| data | ||
| nix | ||
| static | ||
| themes | ||
| .envrc | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| hugo.toml | ||
| justfile | ||
| README.md | ||
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]inhugo.toml. - Navigation is the
[[menu.main]]list inhugo.toml. - Shop products live in
data/products.toml— add, remove or reorder entries. - Pages live in
content/(_index.mdis the landing page,approach.mdis 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.