aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoswret <foswret@posteo.com>2026-03-22 18:27:12 -0500
committerfoswret <foswret@posteo.com>2026-03-22 18:27:12 -0500
commitb1c4ed512419798d876e05fe77ef94401db32935 (patch)
treecc6d8dc2988d2f3272e7688d334928718dfe18de
parent73b06c31b505d1a0f2e4035c7daab0df49a25d3b (diff)
add tiling background to <html>
-rw-r--r--static/bg.webpbin0 -> 6874 bytes
-rw-r--r--static/style.css5
-rw-r--r--templates/index.html4
-rw-r--r--templates/post-page.html1
4 files changed, 7 insertions, 3 deletions
diff --git a/static/bg.webp b/static/bg.webp
new file mode 100644
index 0000000..36ca46a
--- /dev/null
+++ b/static/bg.webp
Binary files differ
diff --git a/static/style.css b/static/style.css
index 73c3565..37e7ab5 100644
--- a/static/style.css
+++ b/static/style.css
@@ -1,6 +1,8 @@
html {
/* overflow-y needed for chromium browsers to not shift */
overflow-y: scroll;
+ background-image: url("/bg.webp");
+ background-repeat: repeat;
}
nav {
@@ -9,7 +11,10 @@ nav {
body {
/* margin: 0 auto; */
+ background-color: white;
max-width: 50%;
+ padding: 2rem;
+ padding-top: 0.2rem;
}
img {
diff --git a/templates/index.html b/templates/index.html
index 795d85a..575141f 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,7 +1,5 @@
{% extends "base.html" %}
{% block content %}
-<h1 class="title">
- This is a blog made with Zola.
-</h1>
+{{ section.content | safe }}
{% endblock content %}
diff --git a/templates/post-page.html b/templates/post-page.html
index 5bb6f40..bfb891c 100644
--- a/templates/post-page.html
+++ b/templates/post-page.html
@@ -6,5 +6,6 @@
{{ page.title }}
</h1>
<p class="subtitle"><strong>{{ page.date }}</strong></p>
+<p><a href="{{ get_url(path='@/posts/_index.md') }}"><-- Back</a></p>
{{ page.content | safe }}
{% endblock content %}