Skip to content

Latest commit

 

History

History
124 lines (81 loc) · 4.73 KB

variables-and-functions.rst

File metadata and controls

124 lines (81 loc) · 4.73 KB

Variables and functions available to templates

The following global variables and functions are available to all CKAN templates in their top-level namespace:

In addition to the above, any variables explicitly passed into a template by a controller action method when it calls render() will also be available to that template, in its top-level namespace.

Any variables explicitly passed into a template snippet in the calling {% snippet %} tag will be available to the snippet in its top-level namespace,

Add links to the default stuff that Jinja provides to all templates.