diff options
Diffstat (limited to 'panfry/templater.py')
| -rwxr-xr-x | panfry/templater.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/panfry/templater.py b/panfry/templater.py index 40fc17a..2cd9204 100755 --- a/panfry/templater.py +++ b/panfry/templater.py @@ -17,7 +17,9 @@ class Templater: def __init__(self, path): self.templates_path = path self.j2 = Environment(loader=FileSystemLoader(self.templates_path), - line_statement_prefix='#') + line_statement_prefix='#', + extensions=['jinja2.ext.loopcontrols'], + ) def page_template(self, doc, page): ''' |
