🔖 initial release

This commit is contained in:
mi
2025-11-15 20:46:44 +10:00
parent 3153455355
commit 6dad2194a5
4 changed files with 12 additions and 1 deletions

1
VERSION Normal file
View File

@@ -0,0 +1 @@
2025.11.15

4
app.py
View File

@@ -13,6 +13,7 @@ from comics_data import (
SOCIAL_INSTAGRAM, SOCIAL_YOUTUBE, SOCIAL_EMAIL, API_SPEC_LINK, EMBED_ENABLED, PERMALINK_ENABLED
)
import markdown
from version import __version__
# Configure logging
logging.basicConfig(level=logging.WARNING)
@@ -57,7 +58,8 @@ def inject_global_settings():
'social_email': SOCIAL_EMAIL,
'api_spec_link': API_SPEC_LINK,
'embed_enabled': EMBED_ENABLED,
'permalink_enabled': PERMALINK_ENABLED
'permalink_enabled': PERMALINK_ENABLED,
'version': __version__
}

View File

@@ -9,6 +9,9 @@
<meta name="description" content="{% block meta_description %}A webcomic about life, the universe, and everything{% endblock %}">
<link rel="canonical" href="{% block canonical %}{{ site_url }}{{ request.path }}{% endblock %}">
<!-- Version -->
<meta name="generator" content="Sunday Comics {{ version }}">
<!-- AI Scraping Prevention -->
<meta name="robots" content="noai, noimageai">
<meta name="googlebot" content="noai, noimageai">

5
version.py Normal file
View File

@@ -0,0 +1,5 @@
# Sunday Comics Version
# This file contains the version number for the project
# Format: YYYY.MM.DD (date-based versioning)
__version__ = "2025.11.15"