authelia - initial work

This commit is contained in:
bunkerity
2021-06-29 15:52:56 +02:00
parent 130c6752dd
commit f73b088f79
9 changed files with 246 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ class Templator :
self.__target_path = target_path
if not self.__target_path.endswith("/") :
self.__target_path += "/"
self.__template_env = jinja2.Environment(loader=jinja2.FileSystemLoader(searchpath=self.__input_path), lstrip_blocks=True)
self.__template_env = jinja2.Environment(loader=jinja2.FileSystemLoader(searchpath=self.__input_path), lstrip_blocks=True, trim_blocks=True)
def render_global(self) :
return self.__render("global")