summaryrefslogtreecommitdiff
path: root/blog/templates
diff options
context:
space:
mode:
authorBotond Hende <contact@wazul.moe>2026-04-05 12:19:18 +0200
committerBotond Hende <contact@wazul.moe>2026-04-05 12:19:18 +0200
commit431f93d2863babe3362a765507945cbfe987cd05 (patch)
treefc10fe8c1b2e2de9f9d886a7eeb3321e03bb7201 /blog/templates
parent5da2ab0744ad21f70b12a5ab31fe8d8889236f31 (diff)
make generating all subdomains for local testing functionalHEADmaster
Diffstat (limited to 'blog/templates')
-rw-r--r--blog/templates/blog_feed.xml.j22
-rw-r--r--blog/templates/sidebar.html.j210
2 files changed, 6 insertions, 6 deletions
diff --git a/blog/templates/blog_feed.xml.j2 b/blog/templates/blog_feed.xml.j2
index 1133d85..1061598 100644
--- a/blog/templates/blog_feed.xml.j2
+++ b/blog/templates/blog_feed.xml.j2
@@ -2,7 +2,7 @@
<rss version="2.0">
<channel>
<title>@yggdrasil</title>
- <link>https://blog.wazul.moe/feed.xml</link>
+ <link>{{ site.blog_url }}/{{ site.rss_filename }}</link>
<description>The chronicle of my works and learnings</description>
<language>en</language>
<lastBuildDate>{{ build_date }}</lastBuildDate>
diff --git a/blog/templates/sidebar.html.j2 b/blog/templates/sidebar.html.j2
index d20aa44..01625c2 100644
--- a/blog/templates/sidebar.html.j2
+++ b/blog/templates/sidebar.html.j2
@@ -9,11 +9,11 @@ Sometimes I touch upon some more artistic stuff, but mostly just to amuse myself
<img src="/assets/image/arch.svg" class="svg-icon" />
</div>
<h3 class="magenta">My other thingies</h3>
-<a href="https://wazul.moe" class="icon-text" target="_blank">
+<a href="{{ site.main_url }}" class="icon-text" target="_blank">
<img src="/assets/image/website.svg" class="svg-icon filter-yellow" />
<span>Website</span>
</a>
-<a href="https://comic.wazul.moe" class="icon-text" target="_blank">
+<a href="{{ site.comic_url }}" class="icon-text" target="_blank">
<img src="/assets/image/pencil.svg" class="svg-icon filter-yellow" />
<span>Comics</span>
</a>
@@ -21,7 +21,7 @@ Sometimes I touch upon some more artistic stuff, but mostly just to amuse myself
<img src="/assets/image/mastodon.svg" class="svg-icon" />
<span>Mastodon</span>
</a>
-<a href="https://git.wazul.moe" class="icon-text" target="_blank">
+<a href="{{ site.git_url }}" class="icon-text" target="_blank">
<img src="/assets/image/git.svg" class="svg-icon" />
<span>Git repositories</span>
</a>
@@ -43,7 +43,7 @@ Sometimes I touch upon some more artistic stuff, but mostly just to amuse myself
<span>.pinky-swear.sh</span>
</a>
<h3 class="magenta">Never miss a post</h3>
-<a href="/feed.xml" class="icon-text">
+<a href="/{{ site.rss_filename }}" class="icon-text">
<img src="/assets/image/rss.svg" class="svg-icon" />
<span>RSS feed</span>
</a>
@@ -56,4 +56,4 @@ Sometimes I touch upon some more artistic stuff, but mostly just to amuse myself
<h3 class="magenta">Thank you</h3>
<p>for <a href="/acknowledgement.html">everyone</a> who made this blog possible</p>
<h3 class="magenta">How It's Made</h3>
-<p class="last-element">This blog is open source, <a href="https://git.wazul.moe/website" target="_blank">check it out!</a></p>
+<p class="last-element">This blog is open source, <a href="{{ site.git_url }}/website" target="_blank">check it out!</a></p>