summaryrefslogtreecommitdiff
path: root/packages/web/site/templates/section.html
blob: 9bd895684f51f8d35230054e635350b00b495540 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{% extends "base.html" %}

{% block title %}
{{ section.title | lower }} :: {{ super() }} {% endblock title %}
{% block content %}

{% block head %}
<link
  rel="alternate"
  type="application/atom+xml"
  title="ATOM"
  href="{{ section.permalink }}atom.xml">
{% endblock head%}

<h1>{{ section.title }}</h1>
<p>{{ section.content | safe }}</p>

<hr style="margin-bottom: 1em" />
<ul style="list-style: none; padding-left: 0">
  {% for page in section.pages %}
  <li style="margin-bottom: 1em">
    <a href="{{ page.path }}">{{ page.title }}</a>
    <br />
    <span>{{ page.date | date(format="%B %d, %Y") }}</span>
  </li>
  {% endfor %}
</ul>
{% endblock content %}