Light/dark mode that automatically follows system settings
gastrophysics — Hugo Blog Template
By brege
Gastrophysics is a Hugo theme for people with multiple career tracks, offering sectioned CV, recipe, and tasting menu pages, with attention to print and e-reader display.
Explore the design
Compare the page layouts and mobile experience. Open any screenshot for a closer look.
Actual screenshot captured by the server browser.
All pages & views 2
Screenshots show visual appearance; interactive behavior may differ.
What stands out
A quick read of the recorded project description.
11 color schemes and a color scheme selector, with syntax highlighting changing with the color scheme
Sectioned CV layout driven by cv.yaml
Recipe and menu shortcodes including recipe, recipe-list, menu, and menu-list
Balanced line wrapping for navigation and main headings, with configurable heading anchor depth
Built-in search, RSS, Open Graph, Twitter Cards, and JSON-LD
Template Details
Gastrophysics is a Hugo theme, originally forked from PaperMod to better present multiple career paths, and later incorporating a textbook-like portfolio style and The Atlantic-style editorial typography. It suits personal sites that need to present a CV, recipes, and menus together.
The theme includes light/dark mode that automatically follows the system, 11 color schemes with a color scheme selector component, and syntax highlighting that changes with the color scheme. The CV uses a sectioned layout driven by cv.yaml; recipes and tasting menus are rendered through shortcodes and types such as recipe, recipe-list, menu, and menu-list. Other features include balanced line wrapping for navigation and main headings, configurable heading anchor depth, compact and expanded post card layouts, a centralized SVG icon registry, and search, RSS, Open Graph, Twitter Cards, and JSON-LD.
Before use, install Hugo, then clone the repository and enter exampleSite to run hugo server to view the example. The theme is released under the MIT license, but third-party assets such as demo images, fonts, and icons require separate license verification.
Is it right for your project?
Use Cases
- Create a sectioned online CV for people with multiple career experiences
- Publish structured recipes and generate recipe list pages
- Display restaurant tasting menus and archive menu lists
- Build a blog or portfolio that works well for both print and e-reader reading
Suitable For
- Individuals building static sites with Hugo
- Content creators who need to present a CV, recipes, and menus together
- Users who want the site to support light/dark mode and multiple color schemes
Getting started & customization
Use these recorded setup notes alongside the repository instructions for your chosen version.
- 1
Install Hugo first, then clone the repository and enter the exampleSite directory to run hugo server
- 2
CV content is configured through cv.yaml; see layouts/cv/README.md for details
- 3
Color schemes can be specified in hugo.toml under params via colorLight and colorDark
- 4
Third-party assets such as demo images, fonts, and icons require separate license verification under their respective licenses
License & source material
Usage conditions & limitations
Free to use · keep license noticeThis entry covers the free version under the MIT license in the public repository; the free scope is the code of that version and does not mean external services or third-party assets are free.
Must comply with when using
- Free use, modification, commercial use, and distribution of this version's code are permitted.
- When distributing copies or substantial portions of the code, retain the original author's copyright notice and the complete MIT license notice.
- The code is provided as is; warranties and limitations of liability are governed by the original license and applicable law.
Additional costs & items to verify
- Demo images, fonts, icons, and other third-party assets require separate license verification and cannot be judged solely by the code's MIT license.
- External services such as domains, hosting, databases, payments, or AI may incur additional charges.
- Before using the theme, you must install the Hugo static site generator yourself; the theme does not include the Hugo runtime.
- The quick start relies on cloning the repository from GitHub and entering the exampleSite directory to run hugo server, requiring git and Hugo in the local environment.
View Original Text Basis
Permission is hereby granted, free of charge
Original License Text
Assuming you've [installed Hugo](https://gohugo.io/getting-started/installing/):
Original README
https://github.com/brege/gastrophysics/blob/main/LICENSEhttps://github.com/brege/gastrophysics/blob/main/README.mdgit clone https://github.com/brege/gastrophysics.git cd gastrophysics/exampleSite hugo server
Original README
Compiled by DeepSeek based on repository license and README ·2026-10-11. Results only cover the materials read; dependencies, images, fonts, and subsequent term changes are subject to their respective original texts.
Project checks & description sources
Template Information
- Source platforms
- GitHub
- Documentation and maintenance reference score
- More documented · 83 / 100
- Technologies
- Hugo
- Website type
- Blog
How this score is calculated
Our heuristic uses license records (up to 30), a demo link (12), a preview (10), stars (15), recorded maintenance (15), description completeness (8), feature records (5) and classification data (5). It is not a code, security or performance test, or a Google score. A link does not establish tested functionality.
What to verify for this project
- Repository update recorded
- 2026-05-31
- Screenshot last checked
- 2026-10-11
A demo link is listed. Check it with your own content and viewport sizes; its presence does not confirm that forms, authentication or payments work.
The catalog identifies Hugo as the primary stack. Check the actual dependency manifest and lockfile for versions and hosting requirements. These notes use recorded metadata, not a code audit or a deployment test.
Use a selection guide →How this description was prepared
AI-assisted description based on catalog records and repository material. Repository authors are not automatically the reviewers of this description.
Review declaration: [email protected] · 2026-10-13
Inspect the recorded source material
SHA-256: 869427c064e5053674b1900d21f390be2cf0525c022d82c1b68a1b4416100da9
2026-10-11T23:41:04.225Z
Source file / repository<h1 align="center">Gastrophysics | <a href="https://gastrophysics.brege.org"><b>Demo</b></a></h1>
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](https://github.com/adityatelange/hugo-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](https://www.theatlantic.com/).
Interested in Markdown reuse? See [Related Projects](#related-projects).
## Quickstart
Assuming you've [installed Hugo](https://gohugo.io/getting-started/installing/):
```bash
git clone https://github.com/brege/gastrophysics.git
cd gastrophysics/exampleSite
hugo server
```
## Gallery
<table>
<tr>
<td colspan="2">
<img src="docs/img/home.png" width="100%">
<br><strong>Hero Page</strong>
</td>
</tr>
<tr>
<td>
<img src="docs/img/menu.png" width="100%">
<br><strong>Restaurant Menu</strong>
</td>
<td>
<img src="docs/img/cv.png" width="100%">
<br><strong>CV Layout</strong> (via <a href="https://github.com/brege/gastrophysics/tree/main/layouts/cv">cv.yaml</a>)
</td>
</tr>
</table>
## Features
- Light/dark mode with automatic system detection
- 11 [color palettes](#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
## Color Palettes
You can mix and match palettes in `hugo.toml`:
```toml
[params]
colorLight = 'linen'
colorDark = 'nord'
```
- linen (my custom palette)
- [rose-pine](https://github.com/rose-pine/rose-pine-theme)
- [rose-pine-moon](https://github.com/rose-pine/rose-pine-theme)
- [catppuccin-frappe](https://github.com/catppuccin/catppuccin)
- [catppuccin-macchiato](https://github.com/catppuccin/catppuccin)
- [catppuccin-mocha](https://github.com/catppuccin/catppuccin)
- [nord](https://github.com/nordtheme/nord)
- [gruvbox](https://github.com/morhetz/gruvbox)
- [everforest](https://github.com/sainnhe/everforest)
- nordic-linen
- sepia
Syntax highlighting is palette-aware across all palettes.
## CV Module
See [layouts/cv/README.md](layouts/cv/README.md).
## Recipe/Menu Module
- `recipe`: renders structured recipe markup
- `recipe-list`: renders recipes from a subsection
- `menu`: renders a tasting menu card and pulls the author from page or site params
- `menu-list`: renders a menu archive with optional H3 preview extraction
## Related Projects
1. [**oshea**](https://github.com/brege/oshea) for a Node.js plugin framework for Markdown-to-PDF pipelines.
2. [**ghrm**](https://github.com/brege/ghrm) for local GitHub README rendering with admonitions, header anchors, Mermaid diagrams, math, and many more embeddings, based on [Hugo](https://github.com/gohugoio/hugo) with a [Neovim](https://neovim.io/) [plugin](https://github.com/brege/ghrm/blob/main/lua/ghrm/init.lua).
## License
[MIT](LICENSE)
Explore similar templates
Compare previews and descriptions within the same stack and category.

hugo-PaperMod
A fast, clean, responsive Hugo theme for blogs and lightweight portfolios, with three layout modes (Regular, Home-Info, Profile), automatic and manual light/dark themes, Fuse.js client-side search, multilingual support, and built-in Open Graph, Twitter Cards, and Schema.org data.
Hugo · Portfolio

LoveIt
LoveIt is a clean, elegant, and feature-rich Hugo blog theme derived from LeaveIt and KeepIt, MIT-licensed. It offers light/dark modes, responsive layout, multilingual support, and search via Lunr.js or Algolia.
Hugo · Blog

hugo-coder
hugo-coder is a minimalist Hugo blog theme maintained by luizdepra under the MIT license. It provides a clean, text-focused blog appearance, configuration documentation in the docs directory, and a complete exampleSite with hugo.toml.
Hugo · Blog

blowfish
Blowfish is a Hugo personal website and blog theme built with Tailwind CSS 4, focused on lightness, simplicity, and content-first presentation.
Hugo · Blog

hugo-paper
hugo-paper is a simple, clean, and customizable Hugo blog theme configured through config.toml or hugo.toml.
Hugo · Blog

hextra
Hextra is a Hugo theme for documentation and blog sites, built on Hugo and Tailwind CSS with design referencing Nextra.
Hugo · Documentation
