diff options
| author | Botond Hende <contact@wazul.moe> | 2026-04-08 11:03:27 +0200 |
|---|---|---|
| committer | Botond Hende <contact@wazul.moe> | 2026-04-08 11:03:27 +0200 |
| commit | 916debdda11c3fb2319c021a7d74afbe21ad7515 (patch) | |
| tree | c3f82034c23af478fc3f01b3f04e1f2d8688ae84 | |
| parent | 431f93d2863babe3362a765507945cbfe987cd05 (diff) | |
changed email address
| -rw-r--r-- | __main__.py | 1 | ||||
| -rw-r--r-- | blog/templates/blog_feed.xml.j2 | 2 | ||||
| -rw-r--r-- | blog/templates/sidebar.html.j2 | 4 | ||||
| -rw-r--r-- | comic/templates/comic_feed.xml.j2 | 2 | ||||
| -rw-r--r-- | 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 @@ <link>{{ post.get_link() }}</link> <description>{{ post.intro }}</description> <guid>{{ post.get_link() }}</guid> - <author>contact@wazul.moe</author> + <author>{{ site.email }}</author> <pubDate>{{ post.get_publish_time_rfc2822() }}</pubDate> </item> {% 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 <span>RSS feed</span> </a> <h3 class="magenta">Contact me at</h3> -<a href="mailto:contact@wazul.moe" class="icon-text"> +<a href="mailto:{{ site.email }}" class="icon-text"> <img src="/assets/image/email.svg" class="svg-icon filter-yellow" /> -<span>contact@wazul.moe</span> +<span>{{ site.email }}</span> </a> <p>especially if you find some typos or bugs on the page</p> <h3 class="magenta">Thank you</h3> 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> </description> <guid>{{ issue.get_link() }}</guid> - <author>contact@wazul.moe</author> + <author>{{ site.email }}</author> <pubDate>{{ issue.get_publish_time_rfc2822() }}</pubDate> </item> {% endfor %} @@ -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" |
