From 215f0dfb09e80ea16b1808e14509e3d3a1da074e Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Thu, 21 May 2015 14:41:47 +0200 Subject: bupa: Enable trim/lstrip_blocks --- scripts/bupa | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/bupa') diff --git a/scripts/bupa b/scripts/bupa index 3802982..e5d0fc1 100755 --- a/scripts/bupa +++ b/scripts/bupa @@ -127,7 +127,8 @@ def make_sitemap(jinja_env, entries): def main(): arguments = docopt.docopt(__doc__, version='bupa 0.0.1') - jinja_env = Environment(loader=FileSystemLoader('src/templates')) # something something jinja2 templates + jinja_env = Environment(loader=FileSystemLoader('src/templates')i + trim_blocks=True, lstrip_blocks=True) if arguments[''] == 'journal.html': build_journal(jinja_env) -- cgit v1.2.3-70-g09d2