enable trim blocks
This commit is contained in:
parent
6b902acf1a
commit
c78906e0ea
@ -259,7 +259,7 @@ def main():
|
||||
templates_dir.append(os.path.join(os.path.split(os.path.realpath(__file__))[0], "themes", "exposure", "templates"))
|
||||
|
||||
|
||||
templates = Environment(loader=FileSystemLoader(templates_dir))
|
||||
templates = Environment(loader=FileSystemLoader(templates_dir), trim_blocks=True)
|
||||
|
||||
index_template = templates.get_template("index.html")
|
||||
gallery_index_template = templates.get_template("gallery-index.html")
|
||||
|
Loading…
x
Reference in New Issue
Block a user