# HG changeset patch # User Ludovic Chabant # Date 1431901703 25200 # Node ID 9e25852f058b362c82e5dbecea8e2f04a62017d4 # Parent 65db6df281201e9431e611b2ccfbe1a7e77bfb01 jinja: Look for `html` extension first instead of last. diff -r 65db6df28120 -r 9e25852f058b piecrust/templating/jinjaengine.py --- 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