forked from github/pelican
Enhance JINJA_FILTERS setting docs (#2126)
This commit is contained in:
parent
9eb259af82
commit
7e52b61934
1 changed files with 3 additions and 0 deletions
|
|
@ -98,7 +98,10 @@ Basic settings
|
|||
should map the filtername to the filter function.
|
||||
|
||||
Example::
|
||||
import sys
|
||||
sys.path.append('to/your/path')
|
||||
|
||||
from custom_filter import urlencode_filter
|
||||
JINJA_FILTERS = {'urlencode': urlencode_filter}
|
||||
|
||||
See: `Jinja custom filters documentation`_.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue