diff options
author | Nico von Geyso <Nico.Geyso@FU-Berlin.de> | 2012-08-04 20:28:20 +0200 |
---|---|---|
committer | Nico von Geyso <Nico.Geyso@FU-Berlin.de> | 2012-08-04 20:28:20 +0200 |
commit | 598df7e0897232a47e141b0050881392ba489137 (patch) | |
tree | 18c69b7542433bf82823329a9f7e035e6db5d664 /blog.html | |
parent | 7368363bb53e90c836b035f03bea1adf646a4318 (diff) | |
download | www-598df7e0897232a47e141b0050881392ba489137.tar.gz www-598df7e0897232a47e141b0050881392ba489137.tar.bz2 www-598df7e0897232a47e141b0050881392ba489137.zip |
new layout for blog entries
Diffstat (limited to 'blog.html')
-rw-r--r-- | blog.html | 27 |
1 files changed, 15 insertions, 12 deletions
@@ -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 %} |