Kitchen-tested recipes by Dylan Thomas, built with Hugo.
Hugo (static site generator):
brew install hugoOr see https://gohugo.io/installation/ for other platforms.
Image compression tools (used by ./squish):
brew install pngquant oxipng jpegoptimpngquant— lossy PNG compressionoxipng— lossless PNG optimization (applied after pngquant)jpegoptim— JPEG compression and stripping
On Linux (apt): sudo apt install pngquant jpegoptim && cargo install oxipng
hugo new content recipes/my-recipe-nameThis creates a page bundle at content/recipes/my-recipe-name/index.md with all the frontmatter fields pre-filled. Drop any images into the same directory, set draft: false when ready, and it will appear on the site.
Start the local development server:
hugo serveThe site will be available at http://localhost:1313/. Changes to content and layouts will live-reload automatically.
Before committing new recipe images, compress them with ./squish to keep the repo lean:
./squish content/recipes/tomato-soup # Dry run — show sizes and what will change
./squish content/recipes/tomato-soup --now # Resize (max 1600px wide) and compress
./squish content/recipes/tomato-soup --clean # Replace originals with compressed versionsImages wider than 1600px are automatically resized down before compression.
Generate the production site:
hugoOutput will be in the public/ directory.