A Hugo theme for a personal site: photo galleries, trips on a topographic map, posts with maths and code.
Put your photos in a folder and they become a gallery with a full-screen viewer. Add the route of a trip and it's drawn on the map, day by day. Pick a look, from graph paper and taped cards to a newspaper or a terminal, and a colour scheme, light or dark. Write Markdown; Hugo turns it into a fast site with no server and no database.
-
Photo and video galleries from a folder: a row of photos on the page that opens in a full-screen, swipeable viewer with captions and places (dialog-lightbox).
-
Trip maps: a GeoJSON route on MapTiler's topographic map, each day in its own colour, with distance and climbing for every day.
-
Different looks and colour schemes, from taped paper cards to a newspaper or a terminal. Any scheme goes with any look, light or dark.
-
A home page with your photo, a greeting, your profiles and a card for anything you like.
-
Maths with MathJax, code in your scheme's colours with a copy button, responsive images with captions.
-
Your own presets, schemes, CSS and hooks, without forking the theme.
-
Search-engine data (JSON-LD, Open Graph) that matches what visitors see, and contrast that passes WCAG AA.
hugo new project my-site && cd my-site
hugo mod init github.com/you/my-siteAdd the theme and the Markdown settings it needs to hugo.toml:
[module]
[[module.imports]]
path = "github.com/maxfettinger/fieldnotes"
[markup.highlight]
noClasses = false
[markup.goldmark.parser]
wrapStandAloneImageWithinParagraph = false
[markup.goldmark.extensions.passthrough]
enable = true
[markup.goldmark.extensions.passthrough.delimiters]
block = [['\[', '\]'], ['$$', '$$']]
inline = [['\(', '\)']]hugo mod get github.com/maxfettinger/fieldnotes@latest
hugo serverRequires Hugo 0.158 or newer (extended). Create your site walks through every step, including adding the theme as a Git submodule instead.
| Folder | What it is |
|---|---|
| the root | the theme |
exampleSite/ |
the demo: hugo server --source exampleSite |
docs/ |
the documentation, built with Vitrine: cd docs && hugo server |
Icons from Feather (MIT). Photo viewer: dialog-lightbox (MIT). Maps: MapTiler. Maths: MathJax.
MIT.

