Mercurial > piecrust2
changeset 395:9e25852f058b
jinja: Look for `html` extension first instead of last.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 17 May 2015 15:28:23 -0700 |
parents | 65db6df28120 |
children | dc0988d937b3 |
files | piecrust/templating/jinjaengine.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/piecrust/templating/jinjaengine.py Sun May 17 15:28:00 2015 -0700 +++ b/piecrust/templating/jinjaengine.py Sun May 17 15:28:23 2015 -0700 @@ -28,7 +28,7 @@ class JinjaTemplateEngine(TemplateEngine): # Name `twig` is for backwards compatibility with PieCrust 1.x. ENGINE_NAMES = ['jinja', 'jinja2', 'twig'] - EXTENSIONS = ['jinja', 'jinja2', 'twig', 'html'] + EXTENSIONS = ['html', 'jinja', 'jinja2', 'twig'] def __init__(self): self.env = None