summaryrefslogtreecommitdiff
path: root/templates/blog.html
diff options
context:
space:
mode:
authorxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-11-06 19:33:51 +0200
committerxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-11-06 19:33:51 +0200
commit536d364573fc203ea449bee33d66671f516984b0 (patch)
tree57a509bcd43ffeccfc9f6c3344fa5c8674419e9f /templates/blog.html
parentb02f618cac0a321f54ea6c3d97e48e4471c8645f (diff)
Initial commit of project migration.
Changes to be committed: new file: config.toml new file: content/blog/_index.md new file: content/blog/first.md new file: content/blog/second.md new file: description new file: templates/base.html new file: templates/blog-page.html new file: templates/blog.html new file: templates/index.html
Diffstat (limited to 'templates/blog.html')
-rw-r--r--templates/blog.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/blog.html b/templates/blog.html
new file mode 100644
index 0000000..8e3cc52
--- /dev/null
+++ b/templates/blog.html
@@ -0,0 +1,13 @@
+{% 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 %}