diff --git a/templates/macros.html b/templates/macros.html index af92664..5b6076d 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -7,3 +7,10 @@ {% endif %} {% endfor %} {% endmacro %} + +{% macro personnel() %} + {% for person in section.pages %} + {{ person.extra.name }} + {{ person.extra.role }} + {% endfor %} +{% endmacro %} diff --git a/templates/page.html b/templates/page.html new file mode 100644 index 0000000..dc8fcee --- /dev/null +++ b/templates/page.html @@ -0,0 +1,5 @@ +{% extends "base.html" %} + +{% block content %} + {{ page.content | safe }} +{% endblock %} diff --git a/templates/personnel.html b/templates/personnel.html new file mode 100644 index 0000000..3cf8894 --- /dev/null +++ b/templates/personnel.html @@ -0,0 +1,7 @@ +{% extends "base.html" %} + +{% block content %} +
+ {{ macros::personnel() }} +
+{% endblock %}