dragonglass/doc/template-vars.txt

22 lines
637 B
Plaintext
Raw Normal View History

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.
dragonglass_version
The version number of dragonglass.
python_version
The version number of Python that's running dragonglass.
text
The text of the page being rendered.
title
The title of the page being rendered.