2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-03-31 11:36:04 +01:00

Allow for editing flatpage titles, and made a common uneditable list of links.

This commit is contained in:
Martin Green
2011-08-08 09:51:47 +01:00
parent c039183137
commit d75bad22de
6 changed files with 44 additions and 19 deletions

View File

@@ -2,9 +2,9 @@
<head>
{{ head|safe }}
</head>
<body{% if bodyid %} id="{{ bodyid }}"{% endif %}>
<body{% if homepage %} id="homepage"{% endif %}>
{{ body|safe }}
{% if editable %}<a href="{% url editflatpage path %}">Edit</a>{% endif %}
<a href="/troggle">Troggle</a>
{% include "menu.html" %}
</body>
</html>