The following variables can be used on pages:
page
: The page nameconfig
: Contents of thesettings.ini
file in this repository (a configparser object)locale
: Locale code of the page languageavailable_locales
: Locale codes of all languages available for this pagesite_url
: URL at which the website is served. The value is taken fromsettings.ini
(general/siteurl
) during static generation and is equal to the test server URL (normallyhttp://localhost:5000
) when working with the test server.
Prev: Static content (static
) | Up: Home | Next: Custom filters