summaryrefslogtreecommitdiffstats
path: root/templates/flatpage.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/flatpage.html')
-rw-r--r--templates/flatpage.html15
1 files changed, 5 insertions, 10 deletions
diff --git a/templates/flatpage.html b/templates/flatpage.html
index fddc69a..47863e3 100644
--- a/templates/flatpage.html
+++ b/templates/flatpage.html
@@ -1,12 +1,7 @@
-<html>
-<head>
-{{ head|safe }}
-</head>
-<body{% if homepage %} id="homepage"{% endif %}>
+{% extends "expobase.html" %}
+{% block title %}{{ title }}{% endblock %}
+{% block bodyattrs %}{% if homepage %} id="homepage"{% endif %}{% endblock %}
+{% block body %}
{{ body|safe }}
-
{% if homepage %}{% if editable %}<a href="{% url editflatpage path %}">Edit</a>{% endif %}{%else %}{% include "menu.html" %}{% endif %}
-
-
-</body>
-</html>
+{% endblock %}