summaryrefslogtreecommitdiff
path: root/templates/posts-section.html
diff options
context:
space:
mode:
authornikolaosboutalas <nikolaosboutalas@MACBOOKPRO-1B9E.station>2024-10-28 12:38:54 +0200
committerNikolaos Boutalas <nikolaosboutalas@MACBOOKPRO-1B9E.station>2026-01-04 21:47:36 +0200
commitc755974cf6d153f4ae668765ae7c95348c3c60b6 (patch)
tree93cb4b66c5461cc5ef1c2230cde622dd6f2ae57a /templates/posts-section.html
parent2e387d897b0e3197cc4e989b181cbf609d2a60d3 (diff)
posts: add section
Diffstat (limited to 'templates/posts-section.html')
-rw-r--r--templates/posts-section.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/posts-section.html b/templates/posts-section.html
new file mode 100644
index 0000000..77e8c3b
--- /dev/null
+++ b/templates/posts-section.html
@@ -0,0 +1,9 @@
+{% extends "base.html" %} {% block body %}
+<h1>{{ section.title }}</h1>
+<p>{{ section.content | safe }}</p>
+<ul>
+ {% for page in section.pages %}
+ <li><a href="{{ page.permalink | safe }}">{{ page.title }}</a> ({{ page.date }})</li>
+ {% endfor %}
+</ul>
+{% endblock body %}