aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html
blob: a4889709f191ae8f5ba2dcd76ab7a3bfe13795d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{% extends "base.html" %} {%- block content -%} {% if section.content %} {{
section.content | safe }} {% endif %}

<hr />

{%- for post in section.pages | sort(attribute="date", reverse=false) -%}
<section>
  <ul class="post-list">
    <li>
      <a href="{{- post.path|safe -}}">{{- post.title -}}</a>
      <span class="post-date">{{ post.date | date(format="%d %h %Y")}}</span>
    </li>
  </ul>
</section>
{%- endfor -%} {%- endblock content -%}