forked from expo/troggle
Allow pages to be rendered when the body tag has attributes. Put an edit link on the homepage.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user