Fieldnotesv1.1.2

Front matter

The keys Fieldnotes reads at the top of a page.

Every page

KeyWhat it does
titlethe page’s heading and its name in lists, the browser tab and link previews
datewhen it was written: shown under the title, sorts lists newest first
lastmodwhen it changed: more than a day after date, shown as “updated”
summarythe text on the page’s card in lists
descriptionthe description for search engines and link previews; else the summary
drafttrue keeps the page off the published site
mathtrue loads MathJax for the page (Maths and code)
imagesimages for link previews, like ["cover.jpg"] (a file next to the page or in assets/)
style.presetthe page’s own preset
style.schemethe page’s own colour scheme
style.backgroundthe page’s own background: light, dark, size as in params.background
params.linkfor a link card: where its card links
buildHugo’s build options: publishResources: false for trips, render: never for link cards

Without images, link previews use a file next to the page whose name contains feature, cover or thumbnail, then params.images.

Hugo’s other keys work as usual: slug and url (the page’s address), aliases (old addresses that redirect), weight (sorts before the date), linkTitle (a shorter name for menus).

The home page

content/_index.md also reads:

KeyWhat it does
greetingthe heading next to the photo; else the site’s title
photoyour photo: a file next to _index.md or in assets/
photoAltwhat the photo shows
displayCarda partial in layouts/_partials/ to show on a card (The display card)

Its text is the introduction next to the photo.

An example

yaml
---
title: "Across the Pyrenees"
date: 2026-06-14
lastmod: 2026-07-02
summary: "Eight days from the Atlantic to the Mediterranean, mostly uphill."
images: ["tourmalet.jpg"]
math: false
style:
  preset: cinematic
build:
  publishResources: false
---