about summary refs log tree commit diff
path: root/templates/posts.html
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-03-26 16:55:25 +0900
committersefidel <contact@sefidel.net>2023-03-26 16:55:25 +0900
commit77ffc8dfeabd45cb3fac500902fcbcb7176edcc7 (patch)
tree4c3a538e0792d60ca637a3921341820087311233 /templates/posts.html
downloadsefidel-web-77ffc8dfeabd45cb3fac500902fcbcb7176edcc7.tar.gz
sefidel-web-77ffc8dfeabd45cb3fac500902fcbcb7176edcc7.zip
project: Initial commit
Diffstat (limited to 'templates/posts.html')
-rw-r--r--templates/posts.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/posts.html b/templates/posts.html
new file mode 100644
index 0000000..f2ccc74
--- /dev/null
+++ b/templates/posts.html
@@ -0,0 +1,15 @@
+{% extends "base.html" %}
+
+{% block html_title %}{{ section.title }} | {{ config.title }}{% endblock html_title %}
+
+{% block content %}
+  <div class="alt-links">
+    [<a href="{{ get_url(path="atom.xml", trailing_slash=false) }}">feed</a>]
+    [<a href="{{ get_url(path="categories") }}">cat</a>]
+    [<a href="{{ get_url(path="tags") }}">tag</a>]
+  </div>
+  <h1 class="title">
+    Posts
+  </h1>
+  {{ posts::display(pages=section.pages) }}
+  {% endblock content %}