feat: Add footer to render for template testing
All checks were successful
Build Docker / Build Main Image (push) Successful in 21s
Build Docker / Build SLDs Image (push) Successful in 20s

This commit is contained in:
Nathan Woodburn 2023-11-20 10:44:26 +11:00
parent 2c419d73a2
commit c69a600aa1
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -11,6 +11,9 @@ FOOTER=""
if os.path.exists("parts/footer.html"):
with open("parts/footer.html") as f:
FOOTER = f.read()
elif os.path.exists("sites/parts/footer.html"):
with open("sites/parts/footer.html") as f:
FOOTER = f.read()
def render(data,db_object):
if data == False: