NoNonsenseCooking is a static site for curated recipes, built with Hugo. It keeps pages fast and free of the usual recipe-site bloat.
A place to share favorite recipes without overwhelming ads and trackers.
- Hugo Extended 0.161.1+ (or build with the
Dockerfile, which usesghcr.io/gohugoio/hugo:v0.161.1)
hugo serverOpen the URL Hugo prints (usually http://localhost:1313/).
Recipes are page bundles under content/r/<slug>/:
index.en.md— English (with matchingindex.de.mdfor German)- Shared
translationKeyin front matter (typically the folder name) - Optional image file beside the markdown (e.g.
my-dish.jpgreferenced asimage: my-dish.jpg)
Use hugo new content/r/<slug>/index.en.md and edit the front matter; see an existing bundle for the full shape (ingredients in front matter, numbered steps in the markdown body).
If the image is not in the bundle, place a 3:2 image under static/img/recipes/ and reference its filename in image.
Homepage ordering can use data/popular.yaml (en / de lists of recipe folder slugs).
Refresh from your self-hosted Plausible instance:
export PLAUSIBLE_API_KEY=...
# optional: PLAUSIBLE_BASE_URL, SITE_ID, PERIOD, LIMIT
./scripts/fetch-popular.shThis writes data/popular.yaml and runs hugo --minify --gc.
hugo --minify --gcOutput is in public/.
The image serves the static public/ tree with Caddy on port 8080 (TLS terminates at Traefik).
docker build -t nononsensecooking .
docker run --rm -p 8080:8080 nononsensecookingExample docker-compose.yml (external traefik network) is in the repo root—adjust host / cert resolver labels to match your setup.
- Recipes and images — CC BY 4.0 — content under
content/r/and files instatic/img/recipes/. SeeLICENSE-recipes. - Site source — MIT. See
LICENSE-code.
Please don't copy recipes from the internet or cookbooks without significant modifications. Use only images you took yourself.