diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2015-05-21 14:41:47 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-05-21 14:41:47 +0200 |
commit | 215f0dfb09e80ea16b1808e14509e3d3a1da074e (patch) | |
tree | 98aa728824bf7f357fad56cb507e619dd1cb52d3 | |
parent | a0cb3f149c738aacb48f258968a53febea44c741 (diff) | |
download | website-215f0dfb09e80ea16b1808e14509e3d3a1da074e.tar.xz |
bupa: Enable trim/lstrip_blocks
-rwxr-xr-x | scripts/bupa | 3 |
1 files changed, 2 insertions, 1 deletions
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['<page>'] == 'journal.html': build_journal(jinja_env) |