diff piecrust/rendering.py @ 184:27d623a241c6

render: Don't always use a `.html` extension for layouts. The rendering code now only looks for the extensions explicitely specified by the template engine. To compensate, the Jinja engine specifies `.html` as its last supported extension.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 04 Jan 2015 14:58:40 -0800
parents fff195335d0a
children 65e6d72f3877
line wrap: on
line diff
--- a/piecrust/rendering.py	Sun Jan 04 14:57:37 2015 -0800
+++ b/piecrust/rendering.py	Sun Jan 04 14:58:40 2015 -0800
@@ -199,7 +199,6 @@
     full_names = []
     for name in names:
         if '.' not in name:
-            full_names.append(name + '.html')
             for ext in default_exts:
                 full_names.append(name + ext)
         else: