hadley.

Lima for front matter

Lima is the part of YAML that front matter needs. If you write front matter in YAML, you already write Lima: the usual fields read the same. This page shows what you write and names where Lima differs from YAML; the guide has every detail, and the specification is the reference.

What you write

title: A morning in Lisbon
publishFrom: 2026-11-02
draft: false
tags: [travel, photography]
author: $(persons/ada)        # a person the program provides, below
place:
  city: Lisbon
  country: Portugal
gallery:
  - file: harbour.jpg
    caption: The harbour at dawn
  - file: tram.jpg
description: |
  Two lines of text,
  kept as they are.

What a value is

You write It is
true, false yes or no
42, 3.14, 1e3 a number
2026-11-02, 2026-11-02T09:00, 02.11.2026 a date, in UTC
null, ~, nothing empty
anything else text
"42", 'true' text: quotes keep a value as written

Where Lima differs from YAML

A program may read Lima strictly, as hadley does: then every line Lima cannot place, such as a key without :, is an error with its line number, where a lenient reader would skip it.

Keys in any language

A key may be written in any script and may hold -, _, :, * and ·: größe, 題名, og:title, autor:in, autor*in. A key with spaces needs quotes: "first name": Ada.

References