Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: docs/content/globals.md

Issue 29628724: Issue 5521 - Restructure CMS documentation to make it easier to use and extend (Closed) Base URL: https://hg.adblockplus.org/cms
Left Patch Set: Created Dec. 4, 2017, 9:59 a.m.
Right Patch Set: Add initial API docs Created Dec. 13, 2017, 11:08 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Right: Side by side diff | Download
(no file at all)
1 # Custom functions and variables #
3 The `globals` directory can define custom Jinja2 globals which will be available
4 in all Jinja2 templates. Typically, this is used for custom functions. The file
5 name should match the name of the function or variable to be defined, and export
6 a variable with that name. E.g. `globals/myfunction.py` can define a function
7 called `myfunction` that will become available to all Jinja2 templates.

Powered by Google App Engine
This is Rietveld