=Make a common base for expoweb pages. Ignore any header information in expoweb except titles.

This commit is contained in:
Martin Green
2011-08-08 10:58:50 +01:00
parent c66ecc4d7f
commit e85c386375
5 changed files with 24 additions and 16 deletions

View File

@@ -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 %}