aboutsummaryrefslogtreecommitdiff
path: root/templates/posts.html
blob: 7aee3a7cc670131e026528da1d4ada6cde7d7832 (plain)
1
2
3
4
5
{% extends "base.html" %}{% block content %}{% set section_item = get_section(path="_index.md") %}
  <div>{% for year, posts in section_item.pages | group_by(attribute="year") %}
    <h2>{{ year }}</h2>
    {% for post in posts %}<p><a href="{{ post.permalink | safe }}" title="{{ post.title }}">{{ post.title }}</a> - {{ post.date | date(format="%F") }}</p>{% endfor %}{% endfor %}
  </div>{% endblock content %}