04/16 Update the page footer

This commit is contained in:
2026-04-16 15:08:57 -04:00
parent f792bf2f67
commit 94db74f030
4 changed files with 10 additions and 15 deletions
+2 -1
View File
@@ -100,10 +100,11 @@ def create_app() -> Flask:
@app.context_processor
def inject_company_name():
"""Make COMPANY_NAME and THEME_NAME available to all templates"""
"""Make COMPANY_NAME, THEME_NAME, and CURRENT_YEAR available to all templates"""
return {
'COMPANY_NAME': os.environ.get('COMPANY_NAME', 'QR Code Management System'),
'THEME_NAME': os.environ.get('THEME_NAME', ''),
'CURRENT_YEAR': datetime.now().year,
}
@app.context_processor