forked from expo/troggle
=Make a common base for expoweb pages. Ignore any header information in expoweb except titles.
This commit is contained in:
@@ -1,12 +1,7 @@
|
||||
<html>
|
||||
<head>
|
||||
{{ head|safe }}
|
||||
</head>
|
||||
<body{% if homepage %} id="homepage"{% endif %}>
|
||||
{% extends "expobase.html" %}
|
||||
{% block title %}{{ title }}{% endblock %}
|
||||
{% 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 %}
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user