From 916debdda11c3fb2319c021a7d74afbe21ad7515 Mon Sep 17 00:00:00 2001 From: Botond Hende Date: Wed, 8 Apr 2026 11:03:27 +0200 Subject: changed email address --- __main__.py | 1 + blog/templates/blog_feed.xml.j2 | 2 +- blog/templates/sidebar.html.j2 | 4 ++-- comic/templates/comic_feed.xml.j2 | 2 +- config.py | 1 + 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/__main__.py b/__main__.py index 0379275..0e1dc48 100644 --- a/__main__.py +++ b/__main__.py @@ -20,6 +20,7 @@ def main(output_root_path: str, local: bool): jinja_env = init_jinja_env() jinja_env.globals.update(site={ "assets_path": Config.ASSETS_IMPORT_PATH, + "email": Config.EMAIL, "assets_path_static": Config.ASSETS_IMPORT_PATH_STATIC, "rss_filename": Config.RSS_FILE_NAME, "main_url": Config.MAIN_ROOT_URL, diff --git a/blog/templates/blog_feed.xml.j2 b/blog/templates/blog_feed.xml.j2 index 1061598..f6bcb17 100644 --- a/blog/templates/blog_feed.xml.j2 +++ b/blog/templates/blog_feed.xml.j2 @@ -12,7 +12,7 @@ {{ post.get_link() }} {{ post.intro }} {{ post.get_link() }} - contact@wazul.moe + {{ site.email }} {{ post.get_publish_time_rfc2822() }} {% endfor %} diff --git a/blog/templates/sidebar.html.j2 b/blog/templates/sidebar.html.j2 index 01625c2..461b55c 100644 --- a/blog/templates/sidebar.html.j2 +++ b/blog/templates/sidebar.html.j2 @@ -48,9 +48,9 @@ Sometimes I touch upon some more artistic stuff, but mostly just to amuse myself RSS feed

Contact me at

- + -contact@wazul.moe +{{ site.email }}

especially if you find some typos or bugs on the page

Thank you

diff --git a/comic/templates/comic_feed.xml.j2 b/comic/templates/comic_feed.xml.j2 index 3a8bcc8..b9e8e26 100644 --- a/comic/templates/comic_feed.xml.j2 +++ b/comic/templates/comic_feed.xml.j2 @@ -16,7 +16,7 @@ <p>{{ issue.description() }}</p> {{ issue.get_link() }} - contact@wazul.moe + {{ site.email }} {{ issue.get_publish_time_rfc2822() }} {% endfor %} diff --git a/config.py b/config.py index a86475d..81fd243 100644 --- a/config.py +++ b/config.py @@ -5,6 +5,7 @@ import datetime class Config: __DIR = os.path.dirname(__file__) ASSETS_IMPORT_PATH = "/assets" + EMAIL = "webmaster@wazul.moe" ASSETS_IMPORT_PATH_STATIC = "https://static.wazul.moe" MAIN_ROOT_URL = "https://wazul.moe" GIT_ROOT_URL = "https://git.wazul.moe" -- cgit v1.2.3-70-g09d2