Placeholders of the form {{name}} in text, image addresses, image fallbacks and the background image are replaced when the image is drawn. A variable that is empty or unknown gives an empty string. An image layer whose address is empty uses its fallback, and is left out when that is empty too.
Site variables
Available for every kind of page.
| Variable | Value |
|---|---|
site.title |
The site title (Settings › General). |
site.tagline |
The site description, as plain text. |
site.logo_url |
The logo uploaded in the public theme's settings, or empty. |
site.url |
The site's address. |
Item
| Variable | Value |
|---|---|
item.title |
Display title. |
item.description |
First Dublin Core Description, as plain text. |
item.creator |
First Dublin Core Creator. |
item.date |
First Dublin Core Date. |
item.type |
First Dublin Core Type. |
item.item_type |
The item type's name, such as Still Image. |
item.collection |
The collection's title, or empty. |
item.thumbnail_url |
The fullsize image of the item's first file with one, or empty. |
Collection
| Variable | Value |
|---|---|
collection.title |
Display title. |
collection.description |
First Dublin Core Description. |
collection.item_count |
Number of items. |
collection.thumbnail_url |
The image of the first item added with one, or empty. |
File
| Variable | Value |
|---|---|
file.title |
Display title (its Dublin Core Title, or the file name). |
file.type |
Image, Video, Audio, PDF, Text, HTML or the MIME type's group. |
file.image_url |
Its fullsize image, or empty for files without one. |
file.original_url |
The file itself. |
file.item.title |
The title of its item. |
Exhibit
| Variable | Value |
|---|---|
exhibit.title |
Title. |
exhibit.description |
Description, as plain text. |
exhibit.credits |
Credits. |
exhibit.page_count |
Number of pages. |
exhibit.image_url |
The cover image, or the first image on its pages. |
Exhibit page
| Variable | Value |
|---|---|
exhibit_page.title |
The page's title. |
exhibit_page.exhibit_title |
Its exhibit's title. |
exhibit_page.image_url |
The first image attached to the page's blocks. |
Simple page
| Variable | Value |
|---|---|
simple_page.title |
Title. |
simple_page.slug |
Its address, such as about. |
simple_page.excerpt |
The first 300 characters of its text, without shortcodes. |
Blog post
With the Blog plugin.
| Variable | Value |
|---|---|
blog_post.title |
Title. |
blog_post.excerpt |
Its excerpt, or the first 300 characters of its text. |
blog_post.author |
The author's name. |
blog_post.date |
The publication date, such as October 21, 2026. |
blog_post.category |
Its category. |
blog_post.thumbnail_url |
Its featured image. |
Search results
| Variable | Value |
|---|---|
search.query |
The words searched for. |
Filters
Appended after a bar, and chained: {{item.description | truncate(120) | upper}}.
| Filter | Effect |
|---|---|
truncate(n) |
Keeps the first n characters (150 by default) and adds "…" when it cut. |
upper, lower |
Changes the case. |
default(text) |
Gives text when the value is empty. |