This commit is contained in:
2025-10-15 09:00:46 +02:00
parent 2d5de900c4
commit f2aa66a5e1
115 changed files with 12107 additions and 0 deletions

8
bin2/lib/template.py Normal file
View File

@@ -0,0 +1,8 @@
import jinja2
templateLoader = jinja2.FileSystemLoader(searchpath="../templates")
templateEnv = jinja2.Environment(loader=templateLoader)
def render_template(filename, args):
template = templateEnv.get_template(filename)
return template.render(args)