Skip to content

About

A Hugo theme for a personal site: posts and notes, trips with maps and photo galleries, maths and code, in six presets and fourteen colour schemes.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

Fieldnotes

A Hugo theme for a personal site: posts and notes, trips with maps and photo galleries, maths and code.

Graph paper and taped cards, or one of five other looks. Write Markdown; Hugo turns it into a fast site with no server, no database and no build step of its own.

Demo · Docs · Getting started

Fieldnotes: a home page on graph paper with a taped photo and a card, a trip page with a topographic map of the route, and the photo viewer on a phone showing a portrait photo

What's in it

  • Six presets for how the site is drawn (fieldnotes, minimal, editorial, cinematic, brutalist, terminal) and fourteen colour schemes, any with any.

    The six presets: fieldnotes, minimal, editorial, cinematic, brutalist and terminal, each a home page

  • Trip maps from a GeoJSON route on MapTiler's topographic map.

  • Photo and video galleries from a folder, opening in a swipeable viewer (dialog-lightbox).

  • 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.

Quick start

hugo new project my-site && cd my-site
hugo mod init github.com/you/my-site

Add 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 server

Requires Hugo 0.158 or newer (extended). Create your site walks through every step, including adding the theme as a Git submodule instead.

This repository

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

Credits

Icons from Feather (MIT). Photo viewer: dialog-lightbox (MIT). Maps: MapTiler. Maths: MathJax.

Licence

MIT.

About

A Hugo theme for a personal site: posts and notes, trips with maps and photo galleries, maths and code, in six presets and fourteen colour schemes.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages