Customise, 3 of 4

Headers and footers

Every sheet has six slots: top-left, top-center, top-right, bottom-left, bottom-center, bottom-right. Each is a Mustache template.

Where to set them

The headers / footers sheet lives behind the page-layout icon in the editor's header (next to the settings cog). It only appears when you have a project open, because the values are stored per project, not per browser.

Templates, not plain text

Each slot accepts a Mustache template. Type {{ in any field for an autocomplete of the variables you can use.

A few common patterns:

{{title}}

Renders the current section's title.

{{page}} / {{pages}}

"3 / 12" style page numbering.

{{date.iso}}

Today's date in YYYY-MM-DD format.

{{project}}

The folder name.

{{#isFile}}{{title}}{{/isFile}}

Only renders the title when the current sheet is a file (skips covers / TOC).

Full list on the templating page.

Apply-to toggles

Below the slots there are switches for whether headers / footers appear on the cover page and on the table of contents. Both off by default, because chrome on a cover usually looks wrong, but flip them on if you want consistent page numbering across the entire document.

There's also a Page numbering starts from input. If you don't want the cover to be page 1, set it to 0 (or any negative number for some fancier offsets). Page 1 in {{page}} then refers to the first content page.

Project-wide