diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/flatpage.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/flatpage.html b/templates/flatpage.html index 42b8481..fddc69a 100644 --- a/templates/flatpage.html +++ b/templates/flatpage.html @@ -5,6 +5,8 @@ <body{% if homepage %} id="homepage"{% endif %}> {{ body|safe }} -{% include "menu.html" %} +{% if homepage %}{% if editable %}<a href="{% url editflatpage path %}">Edit</a>{% endif %}{%else %}{% include "menu.html" %}{% endif %} + + </body> </html> |