summaryrefslogtreecommitdiffstats
path: root/blog.html
blob: 579fd5a4c4196cd978f1bdc275830e5964c2a877 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{% meta %}
  title: Blog
  top_link: 2
{% 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 %}
{% endblock %}