diff options
author | Martin Green <martin.speleo@gmail.com> | 2011-08-08 10:58:50 +0100 |
---|---|---|
committer | Martin Green <martin.speleo@gmail.com> | 2011-08-08 10:58:50 +0100 |
commit | 57ace114278533b461f57ab23b1ca9b199590381 (patch) | |
tree | 14aaea6f13f263ece10ec44f45c51be0a629dfab /flatpages | |
parent | 4c4b6ef11febe13f6bb7db4510e115853aca50a5 (diff) | |
download | troggle-57ace114278533b461f57ab23b1ca9b199590381.tar.gz troggle-57ace114278533b461f57ab23b1ca9b199590381.tar.bz2 troggle-57ace114278533b461f57ab23b1ca9b199590381.zip |
=Make a common base for expoweb pages. Ignore any header information in expoweb except titles.
Diffstat (limited to 'flatpages')
-rw-r--r-- | flatpages/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/flatpages/views.py b/flatpages/views.py index a080437..6279f4d 100644 --- a/flatpages/views.py +++ b/flatpages/views.py @@ -72,7 +72,7 @@ def flatpage(request, path): if re.search(r"iso-8859-1", html): body = unicode(body, "iso-8859-1") body.strip - return render_with_context(request, 'flatpage.html', {'editable': True, 'path': path, 'head': head, 'body': body, 'homepage': (path == "index.htm")}) + return render_with_context(request, 'flatpage.html', {'editable': True, 'path': path, 'title': title, 'body': body, 'homepage': (path == "index.htm")}) else: return HttpResponse(o.read(), mimetype=getmimetype(path)) |