summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-05-21 14:41:47 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2015-05-21 14:41:47 +0200
commit215f0dfb09e80ea16b1808e14509e3d3a1da074e (patch)
tree98aa728824bf7f357fad56cb507e619dd1cb52d3 /scripts
parenta0cb3f149c738aacb48f258968a53febea44c741 (diff)
downloadwebsite-215f0dfb09e80ea16b1808e14509e3d3a1da074e.tar.xz
bupa: Enable trim/lstrip_blocks
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bupa3
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)