aboutsummaryrefslogtreecommitdiff
path: root/zola-static/templates/blog.html
diff options
context:
space:
mode:
Diffstat (limited to 'zola-static/templates/blog.html')
-rw-r--r--zola-static/templates/blog.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/zola-static/templates/blog.html b/zola-static/templates/blog.html
new file mode 100644
index 0000000..eb66dad
--- /dev/null
+++ b/zola-static/templates/blog.html
@@ -0,0 +1,15 @@
+{% extends "base.html" %}
+
+{% block content %}
+
+<h1 class="title">
+ {{ 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></li>
+ {% endfor %}
+</ul>
+{% endblock content %}