Tiramisu Docs

Writing

Page Meta

Every documentation page starts with a meta block that defines metadata used for the sidebar, search, and SEO.

Syntax

tiramisu
meta {
  title = My Page,
  description = A brief description,
  order = 2,
  group = Guide,
  icon = book,
  author = Jane Doe
}

Fields

FieldTypeDescription
titleStringPage title — shown in the sidebar and browser tab
descriptionStringShort description for SEO meta tags
orderNumberSort position in the sidebar (lower appears first)
groupStringSidebar group name (only for root-level files)
lastEditedDate stringOverride the last-edited date (otherwise uses git or file mtime)
iconStringIcon name (Lucide icon or full Iconify ID like mdi:home)
imageStringOG image path (relative to site root) or absolute URL
authorStringAuthor name — displayed below the page and included in JSON-LD

Title

The title field is the most important — it controls what appears in the sidebar navigation. If omitted, the file's slug is used instead.

Ordering

Use order to control the position of pages within their sidebar group. Pages are sorted by order ascending — order = 1 appears first, order = 2 second, and so on. Pages without an order default to 999.

Groups

For root-level files (not inside a folder), the group field determines which sidebar group the page belongs to:

tiramisu
meta { title = Getting Started, group = Guide, order = 1 }

For files inside folders, the group is determined automatically by the folder name — you don't need to set group.

Folder Index Pages

An index.tiramisu file inside a folder sets the group's display title:

src/docs
getting-started
index.tiramisu
installation.tiramisu

If index.tiramisu has title = Getting Started, that becomes the sidebar group heading. Without it, the folder name is title-cased automatically — getting-started becomes "Getting Started".