Gastrophysics | Demo
A Hugo theme for people with split careers. It is print- and e-reader-friendly, with sectional CVs, recipes, and tasting menus.
Gastrophysics started as a fork of PaperMod for better presenting multiple career trajectories. It then moved toward a slightly textbook-y portfolio flair mixed with the editorial signatures of The Atlantic.
Interested in Markdown reuse? See Related Projects.
Assuming you've installed Hugo:
git clone https://github.com/brege/gastrophysics.git
cd gastrophysics/exampleSite
hugo server
Hero Page |
|
Restaurant Menu |
CV Layout (via cv.yaml) |
- Light/dark mode with automatic system detection
- 11 color palettes and palette picker widget
- Palette-aware syntax highlighting
- Sectional CV layout driven by
cv.yaml - Recipe and tasting-menu shortcodes and types
- Balanced text wrapping for navigation and hero titles
- Anchored headings with configurable depth
- Compact and expanded post card layouts
- Centralized SVG icon registry
- Search, RSS, Open Graph, Twitter Cards, and JSON-LD
You can mix and match palettes in hugo.toml:
[params]
colorLight = 'linen'
colorDark = 'nord'- linen (my custom palette)
- rose-pine
- rose-pine-moon
- catppuccin-frappe
- catppuccin-macchiato
- catppuccin-mocha
- nord
- gruvbox
- everforest
- nordic-linen
- sepia
Syntax highlighting is palette-aware across all palettes.
See layouts/cv/README.md.
recipe: renders structured recipe markuprecipe-list: renders recipes from a subsectionmenu: renders a tasting menu card and pulls the author from page or site paramsmenu-list: renders a menu archive with optional H3 preview extraction


