aboutsummaryrefslogtreecommitdiff
path: root/site/templates/section.html
blob: 22594c4f55b4856101f80ba2800ef2fe1bd38d3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{% extends "base.html" %}

{% block title %}{{ section.title | default(value="blog") }} · kassouni.net{% endblock title %}

{% block content %}
{{ section.content | safe }}

<ul class="post-list">
  {% for post in section.pages %}
  <li>
    <a href="{{ post.permalink | safe }}">{{ post.title }}</a>
    {% if post.date %}<time datetime="{{ post.date }}">{{ post.date | date(format="%Y-%m-%d") }}</time>{% endif %}
  </li>
  {% endfor %}
</ul>
{% endblock content %}