summaryrefslogtreecommitdiffstats
path: root/blog.html
blob: 0939e507e7fcee9c521a061f29fd306f09d914dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{% 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 class="blog-entry">
          <div class="entry-date">
            {{ post.date.strftime('%d. %B') }}
          </div>
          <div class="entry-title">
            <a href="{{ post.get_url() }}">{{ post.title }}</a>
          </div>
        </p>
      {% endfor %}
    </div>
    {% endfor %}
</div>
{% endblock %}