about summary refs log tree commit diff stats
path: root/templates/section.html
blob: e61566fa4a8555cd63c4132ba8c8e1d70ae02617 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{% extends "base.html" %}

{% block main %}
<main>
  <h1>{{ section.title }}</h1>
  {{ section.content }}
  <section>
    <ul>
      {% for page in section.pages %}
        <li class="h-entry">
          <time class="dt-published" datetime="{{ page.date | date(format="%+") }}">{{ page.date | date(format="%F") }}</time>
          <a class="u-url p-name" href="{{ page.path | safe }}">{{ page.title }}</a>
        </li>
      {% endfor %}
    </ul>
  </section>
</main>
{% endblock %}