Tota logo

Docs

Getting started

  • Overview
  • Commands
  • Configuration

Usage

  • Pages
  • Posts
  • Front matter
  • Templates
  • Assets
  • Deployment

Front matter

Front matter is a block of YAML at the beginning of a page file, ahead of any Markdown content. The front matter contains metadata about the page itself:

---
title: "Parrots and Cockatoos"
template: "birds.mustache"
date: "2019-08-14 22:33:44"
public: true
---


Metadata

The following table lists the pre-defined metadata that you can set in the front matter of your page, or post.

KeyDefaultDescription
titleTOTA_TITLEThe title of the page.
descriptionTOTA_DESCRIPTIONA short description of the page.
publicfalse[Boolean] Only public files will be generated, the rest will be skipped.
template"base.mustache"The mustache HTML template to use, relative to the templates directory.
dateCurrent dateA date in YYYY-MM-DD HH:MM:SS format. The hours, minutes, and seconds are optional.
tags-A YAML list of tags.

Related

  • Pages
  • Templates
Tota logo

Tota is a static-site generator made by @izolate.


© 2025 Tota. MIT license.

Site links

  • house Home
  • open book Docs
  • question mark Articles

Open source

  • Pub
  • GitHub
  • File an issue
  • Edit this site