summaryrefslogtreecommitdiffstats
path: root/templates/flatpage.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/flatpage.html')
-rw-r--r--templates/flatpage.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/templates/flatpage.html b/templates/flatpage.html
index 2376159..73be1b2 100644
--- a/templates/flatpage.html
+++ b/templates/flatpage.html
@@ -3,5 +3,13 @@
{% 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 %}
+{% if homepage %}
+ {% if editable %}
+ <a href="{% url "editflatpage" path %}">Edit</a>
+ {% endif %}
+ {%else %}
+ {% if not has_menu %}
+ {% include "menu.html" %}
+ {% endif %}
+ {% endif %}
{% endblock %}