summaryrefslogtreecommitdiffstats
path: root/blog.html
blob: 9b678395514a8f40eb3ef47a9a68458f20a01aac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{% meta %}
  title: Blog
  top_link: 2
{% endmeta %}

{% block content %}
<div id="blog-index">
  {% for year,entries in site.posts|filter_by_path('blog/')|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 %}