aboutsummaryrefslogtreecommitdiff
path: root/templates/archive.html
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-03-13 18:28:40 +0300
committerYaroslav <contact@yaroslavps.com>2020-03-13 18:28:40 +0300
commit3caa2027c4c0d77c2706aac5356ce4aa666379a1 (patch)
treef400a270fd3b1a6b874ff8a40a05768df881b683 /templates/archive.html
parentf3908a51aa9654f7049a5a5f74f89439d076924e (diff)
downloadyaroslavps.com-3caa2027c4c0d77c2706aac5356ce4aa666379a1.tar.gz
yaroslavps.com-3caa2027c4c0d77c2706aac5356ce4aa666379a1.zip
style/layout changes; gitignore
Diffstat (limited to 'templates/archive.html')
-rw-r--r--templates/archive.html7
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 %}