✨ default to current year for copyright
This commit is contained in:
1
app.py
1
app.py
@@ -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,
|
||||
|
||||
@@ -159,7 +159,7 @@
|
||||
</div>
|
||||
|
||||
<div class="footer-bottom">
|
||||
<p>© 2025 {{ copyright_name }}. All rights reserved.</p>
|
||||
<p>© {{ current_year }} {{ copyright_name }}. All rights reserved.</p>
|
||||
<span class="footer-divider" aria-hidden="true">|</span>
|
||||
<div class="site-credit">
|
||||
<a href="https://git.puercito.net/mi/sunday" target="_blank" rel="noopener noreferrer" aria-label="Sunday Comics - Webcomic platform">
|
||||
|
||||
Reference in New Issue
Block a user