diff options
Diffstat (limited to 'theme/templates/page.html')
-rw-r--r-- | theme/templates/page.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/theme/templates/page.html b/theme/templates/page.html new file mode 100644 index 0000000..8b1048d --- /dev/null +++ b/theme/templates/page.html @@ -0,0 +1,18 @@ +{% extends "layout.html" %} + +{% block title %}{{ title }}{% endblock %} + +{% block content %} + {% for page in pages %} + <hr> + <article id="{{ page.path }}"> + {% for section in page.content %} + {% if section.type == "normal" %} + {% autoescape false %}{{ section.content }}{% endautoescape %} + {% endif %} + {% endfor %} + </article> + {% endfor %} +{% endblock %} + +{% block javascript %}{% endblock %}
\ No newline at end of file |