summaryrefslogtreecommitdiff
path: root/templates/blog.html
diff options
context:
space:
mode:
authorSakamoto <me@sakamoto.network>2025-12-05 17:14:05 -0600
committerSakamoto <me@sakamoto.network>2025-12-05 17:14:05 -0600
commit35f13c2d308e7a077787af5cb5d4f03ca3d507ce (patch)
tree8ccb136d8708f502bc2c8c46f8c9231b54be6309 /templates/blog.html
downloadsakamoto.network-35f13c2d308e7a077787af5cb5d4f03ca3d507ce.tar.xz
sakamoto.network-35f13c2d308e7a077787af5cb5d4f03ca3d507ce.zip
init
smolweb compliant
Diffstat (limited to 'templates/blog.html')
-rw-r--r--templates/blog.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/blog.html b/templates/blog.html
new file mode 100644
index 0000000..38b96c1
--- /dev/null
+++ b/templates/blog.html
@@ -0,0 +1,16 @@
+{% extends "base.html" %} {% block title %} {{ section.title }} {% endblock
+title %} {% block content %}
+<h1>{{ section.title }}</h1>
+<ul>
+ <!-- If you are using pagination, section.pages will be empty.
+ You need to use the paginator object -->
+ {% for page in section.pages %}
+ <li>
+ <a href="{{ page.permalink | safe }}">{{ page.title }}</a>
+ <time class="right" datetime="{{ page.date }}"
+ >{{ page.date | date(format="%b %d, %Y") }}</time
+ >
+ </li>
+ {% endfor %}
+</ul>
+{% endblock content %}