diff --git a/templates/section.html b/templates/section.html new file mode 100644 index 0000000..b68b2ee --- /dev/null +++ b/templates/section.html @@ -0,0 +1,72 @@ +{% extends "index.html" %} {% import "macros.html" as macros %} {% block header +%} + +
+ +
+{% endblock header %} {% block title %} {% endblock title %} {% block main %} + +
+ {{ section.content | safe }} +

{{ section.title }}

+ {% for year, pages in section.pages | group_by(attribute="year") %} +
+
{{ year }}
+ +
+ {% endfor %} +
+ +{% endblock main %} {% block footer %} {{ macros::footer() }} {% endblock footer +%}