diff options
Diffstat (limited to 'templates/archive.html')
-rw-r--r-- | templates/archive.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/archive.html b/templates/archive.html index 68daf65..c3eb817 100644 --- a/templates/archive.html +++ b/templates/archive.html @@ -1,12 +1,13 @@ {% extends "base.html" %} {% block content %} {% set section = get_section(path="weblog/_index.md") %} -<div class="posts-list"> +<div class="post-container"> + <h2>Archive</h2> {% for year, posts in section.pages | group_by(attribute="year") %} - <h2>{{ year }}</h2> + <h3>{{ year }}</h3> <ul> {% for post in posts %} - <li>{{ post.date }} - <a href="{{ post.permalink }}">{{ post.title }}</a></li> + <li><span class="publish-date">{{ post.date | date }}</span> - <a href="{{ post.permalink }}">{{ post.title }}</a></li> {% endfor %} </ul> {% endfor %} |