Personal recipe collection, published at geonauts-cookbook.uk.
Recipes are written as TOML files and compiled to both a Hugo website and a printable PDF.
- Create a
.tomlfile inrecipes/{category}/ - Run
make composeto generate Markdown and LaTeX - Preview locally with
make serve→http://localhost:1313
title = "Recipe Name"
category = "mains"
[ingredients]
ingredient1 = "quantity"
[instructions]
step1 = "Do this"
image = "recipe-name.jpg" # optional — place in recipes/{category}/images/
notes = "..."
hints = "..."| Command | What it does |
|---|---|
make website-init |
First-time setup |
make compose |
Convert recipes → Markdown + LaTeX |
make serve |
Hugo dev server at localhost:1313 |
make all |
Build PDF + static site |
make pdf |
Build PDF only |
make hugo |
Build static site only |
make watch |
Live-recompile PDF on changes |
make clean |
Remove all build artefacts |
The website uses hugo-cookbook-theme — a Material Design 3 Hugo theme built for this project.