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, 6 insertions, 9 deletions
diff --git a/templates/flatpage.html b/templates/flatpage.html
index 04ff1f8..47863e3 100644
--- a/templates/flatpage.html
+++ b/templates/flatpage.html
@@ -1,10 +1,7 @@
-<html>
-<head>
-{{ head|safe }}
-</head>
-<body{% if bodyid %} id="{{ bodyid }}"{% endif %}>
+{% extends "expobase.html" %}
+{% block title %}{{ title }}{% endblock %}
+{% block bodyattrs %}{% if homepage %} id="homepage"{% endif %}{% endblock %}
+{% block body %}
{{ body|safe }}
-{% if editable %}<a href="{% url editflatpage path %}">Edit</a>{% endif %}
-<a href="/troggle">Troggle</a>
-</body>
-</html>
+{% if homepage %}{% if editable %}<a href="{% url editflatpage path %}">Edit</a>{% endif %}{%else %}{% include "menu.html" %}{% endif %}
+{% endblock %}