summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBotond Hende <contact@wazul.moe>2026-05-09 08:15:08 +0200
committerBotond Hende <contact@wazul.moe>2026-05-09 08:15:08 +0200
commit81964ffac36d659b450140d37ab73074660cb0bd (patch)
treed32739afad1d4e5ab80504bb94fceec6aa4b2d13
parent6fa30eec950b85778daf13758b94799d5fe6a6ac (diff)
added webmaster page and 88x31 button
-rw-r--r--main/assets/css/main.css2
-rw-r--r--main/assets/image/buttons/wazul_88x31.pngbin0 -> 391 bytes
-rw-r--r--main/templates/main_index.html.j24
-rw-r--r--main/templates/main_sidebar.html.j24
-rw-r--r--main/templates/main_webmaster.html.j212
-rw-r--r--modules/main_generate.py2
6 files changed, 21 insertions, 3 deletions
diff --git a/main/assets/css/main.css b/main/assets/css/main.css
index bda3e6f..a7f97e3 100644
--- a/main/assets/css/main.css
+++ b/main/assets/css/main.css
@@ -9,7 +9,7 @@ canvas.canvas_bg {
z-index: -1;
}
-a, p, h1, h2, h3, li {
+a, p, h1, h2, h3, li, code {
color: white;
}
diff --git a/main/assets/image/buttons/wazul_88x31.png b/main/assets/image/buttons/wazul_88x31.png
new file mode 100644
index 0000000..38a7d18
--- /dev/null
+++ b/main/assets/image/buttons/wazul_88x31.png
Binary files differ
diff --git a/main/templates/main_index.html.j2 b/main/templates/main_index.html.j2
index 50f6b9d..084e6cf 100644
--- a/main/templates/main_index.html.j2
+++ b/main/templates/main_index.html.j2
@@ -1,4 +1,6 @@
{% extends "main_base.html.j2" %}
{% block content %}
-<p>This is page is work in progress. Meanwhile check my stuff on the navbar at the top of the page.</p>
+<h1>Welcome to my website!</h1>
+<h3>My name is Wazul!</h3>
+<p>This page is work in progress. Meanwhile, check my stuff on the navbar at the top and on the sidebar to the right!</p>
{% endblock %}
diff --git a/main/templates/main_sidebar.html.j2 b/main/templates/main_sidebar.html.j2
index 7ad99b1..cd4b6ec 100644
--- a/main/templates/main_sidebar.html.j2
+++ b/main/templates/main_sidebar.html.j2
@@ -2,6 +2,10 @@
<img src="/assets/image/sidebar/missing_texture.png" />
<span>Home</span>
</a>
+<a href="/webmaster.html" class="icon-text">
+ <img src="/assets/image/sidebar/missing_texture.png" />
+ <span>Webmaster</span>
+</a>
<a href="/neighbors.html" class="icon-text">
<img src="/assets/image/sidebar/missing_texture.png" />
<span>Neighborhood</span>
diff --git a/main/templates/main_webmaster.html.j2 b/main/templates/main_webmaster.html.j2
new file mode 100644
index 0000000..32aa9c5
--- /dev/null
+++ b/main/templates/main_webmaster.html.j2
@@ -0,0 +1,12 @@
+{% extends "main_base.html.j2" %}
+{% block content %}
+<h1>About me</h1>
+<p>My name is Wazul! I'm a game developer by occupation and a computer enthusiast by hobby. I love learning about and working on anything related to computers or geek stuff, although I consider myself only a passionate greenhorn. Sometimes I touch upon some more artistic stuff, but mostly just to amuse myself.</p>
+<hr>
+<h3>If you'd like to be web neighbors, contact me on email: <a href="mailto:{{ site.email }}">{{ site.email }}</a></h3>
+<h3>Add this HTML snippet you website:</h3>
+<code>&lt;a href="https://wazul.moe" target="_blank"&gt;&lt;img src="YOUR IMAGE PATH" alt="Wazul's website" title="Wazul's website"&gt;&lt;/a&gt;</code>
+<h3>My buttons (please do not <a href="https://altlab.com/hotlinking/">hotlink</a>):</h3>
+<p><b>88x31:</b></p>
+<img src="/assets/image/buttons/wazul_88x31.png" />
+{% endblock %}
diff --git a/modules/main_generate.py b/modules/main_generate.py
index d80ff44..35cc64f 100644
--- a/modules/main_generate.py
+++ b/modules/main_generate.py
@@ -23,7 +23,7 @@ def generate(jinja_env: jinja2.Environment, output_root_path: str, local: bool):
os.mkdir(output_root_path)
- for page in ("index", "neighbors", "wip"):
+ for page in ("index", "neighbors", "wip", "webmaster"):
template = jinja_env.get_template(f"main_{page}.html.j2")
html_file_name = f"{page}.html"
with open(os.path.join(output_root_path, html_file_name), "w") as f: