aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorfoswret <foswret@posteo.com>2026-03-21 21:38:23 -0500
committerfoswret <foswret@posteo.com>2026-03-21 21:38:23 -0500
commitd300415652d513a54c214c894e996036d2c999ce (patch)
treef66832112462c1c9f0544ce351fe901a9e3d3740 /templates
first commit
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html17
-rw-r--r--templates/index.html8
-rw-r--r--templates/post-page.html10
-rw-r--r--templates/posts.html12
-rw-r--r--templates/robots.txt4
5 files changed, 51 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..aba4506
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <meta charset="utf-8">
+ <title>CHANGE ME</title>
+</head>
+
+<body>
+ <section class="section">
+ <div class="container">
+ {% block content %} {% endblock content %}
+ </div>
+ </section>
+</body>
+
+</html>
diff --git a/templates/index.html b/templates/index.html
new file mode 100644
index 0000000..560c000
--- /dev/null
+++ b/templates/index.html
@@ -0,0 +1,8 @@
+{% extends "base.html" %}
+
+{% block content %}
+<h1 class="title">
+ This is a blog made with Zola.
+</h1>
+<p><a href="{{ get_url(path='@/posts/_index.md') }}">Posts</a>.</p>
+{% endblock content %}
diff --git a/templates/post-page.html b/templates/post-page.html
new file mode 100644
index 0000000..5bb6f40
--- /dev/null
+++ b/templates/post-page.html
@@ -0,0 +1,10 @@
+{% extends "base.html" %}
+
+
+{% block content %}
+<h1 class="title">
+ {{ page.title }}
+</h1>
+<p class="subtitle"><strong>{{ page.date }}</strong></p>
+{{ page.content | safe }}
+{% endblock content %}
diff --git a/templates/posts.html b/templates/posts.html
new file mode 100644
index 0000000..cb6c14b
--- /dev/null
+++ b/templates/posts.html
@@ -0,0 +1,12 @@
+{% extends "base.html" %}
+
+{% block content %}
+<h1 class="title">
+ {{ section.title }}
+</h1>
+<ul>
+ {% for page in section.pages %}
+ <li><a href="{{ page.permalink | safe }}">{{ page.title }}</a></li>
+ {% endfor %}
+</ul>
+{% endblock content %}
diff --git a/templates/robots.txt b/templates/robots.txt
new file mode 100644
index 0000000..b6ac790
--- /dev/null
+++ b/templates/robots.txt
@@ -0,0 +1,4 @@
+User-agent: *
+Disallow:
+Allow: /
+Sitemap: {{ get_url(path="sitemap.xml") }}