blob: a605b406d0e9437bb27f21ab34c853f854111440 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{% extends "base.html" %}
{% block header %}
<h1>Yaroslav's weblog archive</h1>
{% endblock %}
{% block content %}
{% set section = get_section(path="weblog/_index.md") %}
<div class="post-container">
{% for year, posts in section.pages | group_by(attribute="year") %}
<h3>{{ year }}</h3>
<ul>
{% for post in posts %}
<li><span class="publish-date">{{ post.date | date }}</span> - <a href="{{ post.permalink }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
{% endfor %}
</div>
{% endblock %}
|