From eec45c70f8a0c411b3686ceafd22d1619277ac46 Mon Sep 17 00:00:00 2001 From: Simon Conseil Date: Fri, 19 Jul 2013 00:36:09 +0200 Subject: [PATCH] Use lstrip_blocks jinja option. From jinja doc: If this is set to True leading spaces and tabs are stripped from the start of a line to a block --- sigal/writer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sigal/writer.py b/sigal/writer.py index a40b29f..60d09ed 100644 --- a/sigal/writer.py +++ b/sigal/writer.py @@ -74,6 +74,7 @@ class Writer(object): PrefixLoader({'!default': default_loader}) # explicit one ]), trim_blocks=True, + lstrip_blocks=True ) try: