page backend

This commit is contained in:
j 2021-10-11 13:26:51 +01:00
commit 2cbd101c85
3 changed files with 63 additions and 0 deletions

8
app/templates/page.html Normal file
View file

@ -0,0 +1,8 @@
{% extends "base.html" %}
{% block title %}{{ page.title }} Phantas.ma/polis{% endblock title %}
{% block main %}
<div class="page {{ page.slug }}">
{{ page.body | safe }}
</div>
{% endblock %}