2024-08-11 22:29:18 -06:00
|
|
|
TEMPLATE VARIABLES PROVIDED BY DRAGONGLASS WHEN RENDERING A DOCUMENT
|
|
|
|
|
|
|
|
backlinks
|
|
|
|
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.
|
|
|
|
|
|
|
|
default_stylesheet
|
|
|
|
The filename of the default stylesheet which is generated by dragonglass and added to the
|
|
|
|
generated pages.
|
|
|
|
|
2024-08-11 23:07:15 -06:00
|
|
|
description
|
|
|
|
The description of this page. May be empty.
|
|
|
|
|
2024-08-11 22:29:18 -06:00
|
|
|
dragonglass_version
|
|
|
|
The version number of dragonglass.
|
|
|
|
|
|
|
|
python_version
|
|
|
|
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-11 22:29:18 -06:00
|
|
|
text
|
|
|
|
The text of the page being rendered.
|
|
|
|
|
|
|
|
title
|
|
|
|
The title of the page being rendered.
|