2024-08-11 22:29:18 -06:00
|
|
|
TEMPLATE VARIABLES PROVIDED BY DRAGONGLASS WHEN RENDERING A DOCUMENT
|
|
|
|
|
2024-08-15 00:36:59 -06:00
|
|
|
backlinks:
|
2024-08-11 22:29:18 -06:00
|
|
|
A list of pages that link to the page being rendered. Formatted as a list of dicts with
|
|
|
|
two elements, "name" and "link", containing the page title and the link to it, respectively.
|
|
|
|
|
2024-08-15 00:36:59 -06:00
|
|
|
default_stylesheet:
|
2024-08-11 22:29:18 -06:00
|
|
|
The filename of the default stylesheet which is generated by dragonglass and added to the
|
|
|
|
generated pages.
|
|
|
|
|
2024-08-15 00:36:59 -06:00
|
|
|
description:
|
2024-08-11 23:07:15 -06:00
|
|
|
The description of this page. May be empty.
|
|
|
|
|
2024-08-15 00:36:59 -06:00
|
|
|
dragonglass_version:
|
2024-08-11 22:29:18 -06:00
|
|
|
The version number of dragonglass.
|
|
|
|
|
2024-08-15 00:36:59 -06:00
|
|
|
lang:
|
|
|
|
The configured site language, as a RFC5646 language identifier.
|
|
|
|
|
|
|
|
python_version:
|
2024-08-11 22:29:18 -06:00
|
|
|
The version number of Python that's running dragonglass.
|
|
|
|
|
2024-08-14 13:35:02 -06:00
|
|
|
site_base:
|
|
|
|
If defined, contains the site base URL.
|
|
|
|
|
|
|
|
site_title:
|
|
|
|
If defined, contains the site title.
|
|
|
|
|
2024-08-12 00:53:42 -06:00
|
|
|
tags:
|
|
|
|
A list of all tags the page being rendered has, in sorted order.
|
|
|
|
|
2024-08-15 00:36:59 -06:00
|
|
|
text:
|
2024-08-11 22:29:18 -06:00
|
|
|
The text of the page being rendered.
|
|
|
|
|
2024-08-15 00:36:59 -06:00
|
|
|
title:
|
2024-08-11 22:29:18 -06:00
|
|
|
The title of the page being rendered.
|