summaryrefslogtreecommitdiffstats
path: root/blog.html
diff options
context:
space:
mode:
Diffstat (limited to 'blog.html')
-rw-r--r--blog.html27
1 files changed, 15 insertions, 12 deletions
diff --git a/blog.html b/blog.html
index 579fd5a..01af04e 100644
--- a/blog.html
+++ b/blog.html
@@ -4,16 +4,19 @@
{% endmeta %}
{% block content %}
-<h2>Latest posts</h2>
-
-{% for year,entries in site.posts|group_by_year|dictsort|reverse %}
- <h3>{{ year }}</h3>
- {% for post in entries %}
- <p>
- {{ post.date.strftime('%B %d') }}
- -
- <a href="{{ post.get_url() }}">{{ post.title }}</a>
- </p>
- {% endfor %}</ul></li>
-{% endfor %}
+<div id="blog-index">
+ {% for year,entries in site.posts|group_by_year|dictsort|reverse %}
+ <div class="blog-year">
+ <h3>{{ year }}</h3>
+ {% for post in entries %}
+ <p>
+ <div class="entry-date">
+ {{ post.date.strftime('%B %d') }}
+ </div>
+ <a href="{{ post.get_url() }}">{{ post.title }}</a>
+ </p>
+ {% endfor %}
+ </div>
+ {% endfor %}
+</div>
{% endblock %}