diff options
author | Valentin Popov <valentin@popov.link> | 2023-08-30 13:53:41 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2023-08-30 13:53:41 +0300 |
commit | 575bc4a55472125f3e59237cf64f85b959cd439c (patch) | |
tree | 054cad64eea325ee629035ac41a02b42a550af2d | |
parent | a593ef4506fa9dcc6926bb19e8cbffbed001d7ae (diff) | |
download | popov.link-575bc4a55472125f3e59237cf64f85b959cd439c.tar.xz popov.link-575bc4a55472125f3e59237cf64f85b959cd439c.zip |
Added header for the blog post list page
-rw-r--r-- | templates/blog.html | 4 |
1 files changed, 4 insertions, 0 deletions
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 %} +<section> + <h1>Latest posts</h1> +</section> + {% for year, posts in section.pages | group_by(attribute='year') %} <section> <h2>{{ year | trim | safe }}</h2> |