FAQ / Using Placeholder Variables

Bliptown uses a limited, modified subset of the Mustache templating language. Here we’ll talk about placeholders (variables).

Any text values you enter in a page’s metadata can be used throughout the page (and any included pages) by enclosing the metadata key with {{ double braces }} like this:

---
title: Valetudo
date: 2026-02-09
---

# {{ title }}

Here {{ title }} will be replaced with “Valetudo” as a level 1 heading.

Formatted Dates

You can use the special placeholder {{ prettydate }} to insert the page’s metadata date in a predefined format. The formats are:

  • euro — Day Month Year
  • us — Month Day, Year
  • monthyear — Month Year
  • year — Year
  • iso — YYYY-MM-DD

To set your preferred format, edit your _prettydate.txt file and add just the above format.

e.g. Adding euro to _prettydate.txt will insert 2026-02-09 as “9 February 2026”.

The page’s metadata date value must match the ISO 8601 format, i.e. YYYY-MM-DD.

← Previous | Source | Next →