From 575bc4a55472125f3e59237cf64f85b959cd439c Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 30 Aug 2023 14:53:41 +0400 Subject: Added header for the blog post list page --- templates/blog.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/blog.html b/templates/blog.html index 492ff50..88e1eb6 100644 --- a/templates/blog.html +++ b/templates/blog.html @@ -1,6 +1,10 @@ {% extends 'base.html' %} {% block content %} +
+

Latest posts

+
+ {% for year, posts in section.pages | group_by(attribute='year') %}

{{ year | trim | safe }}

-- cgit v1.2.3