+
+ {{ hooks::above_page(page=page) }}
+
-
- {% endfor %}
-
-{% endfor %} {% endblock content %}
+
+
+
+ diff --git a/content/posts/_index.md b/content/posts/_index.md index 1c67892..b1f2702 100644 --- a/content/posts/_index.md +++ b/content/posts/_index.md @@ -1,8 +1,8 @@ +++ title = "Example posts" sort_by = "date" -template = "post.html" -page_template = "section.html" +template = "posts.html" +page_template = "post.html" +++ Here are some example posts. The posts are grouped by year. diff --git a/templates/post.html b/templates/post.html index 00c7ada..a71a984 100644 --- a/templates/post.html +++ b/templates/post.html @@ -1,29 +1,33 @@ -{% extends "base.html" %} {% block content %} -