default to current year for copyright

This commit is contained in:
mi
2025-11-14 20:47:01 +10:00
parent e9c4423779
commit f07bbc4e1b
2 changed files with 2 additions and 1 deletions

1
app.py
View File

@@ -25,6 +25,7 @@ def inject_global_settings():
return {
'comic_name': COMIC_NAME,
'copyright_name': COPYRIGHT_NAME if COPYRIGHT_NAME else COMIC_NAME,
'current_year': datetime.now().year,
'site_url': SITE_URL,
'logo_image': LOGO_IMAGE,
'logo_mode': LOGO_MODE,