aboutsummaryrefslogtreecommitdiff
path: root/templates/section.html
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-07-04 11:36:33 -0700
committerFranck Cuny <franck@fcuny.net>2024-07-04 11:36:33 -0700
commitfccd15aec3507fd3f0cb4a2c18a0ec1af1d69c1f (patch)
treef506115024e7e6247279409fa053e59927ec398c /templates/section.html
parentdont format html files with prettier (diff)
downloadfcuny.net-fccd15aec3507fd3f0cb4a2c18a0ec1af1d69c1f.tar.gz
migrate to zola
Diffstat (limited to 'templates/section.html')
-rw-r--r--templates/section.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/section.html b/templates/section.html
new file mode 100644
index 0000000..7130c84
--- /dev/null
+++ b/templates/section.html
@@ -0,0 +1,16 @@
+{% extends "orphan.html" %}
+
+{% block title %}{{ section.title }} - {{ config.title }}{% endblock title %}
+
+{% block content %}
+<h1>{{ section.title }}</h1>
+<ul>
+{% for post in section.pages %}
+ <li>
+ <a href="{{ post.permalink }}">{{ post.title }}</a>
+ <br>
+ <small>{{ post.date | date(format="%d %h %Y") }}</small>
+ </li>
+{% endfor %}
+</ul>
+{% endblock content %}