From 0efc1162f77bcea770f72dbe8db1caafa8090e66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Tue, 15 Feb 2011 00:42:39 +0100 Subject: W3C fixes --- controller.py | 1 + templates/root.mako | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/controller.py b/controller.py index 85a9f13..894cd42 100644 --- a/controller.py +++ b/controller.py @@ -9,6 +9,7 @@ class Page: All the general and simple pages. """ def GET(self, name = '/'): + web.header("Content-Type", "application/xhtml+xml;;charset=utf-8", unique = True) if not name or name == '/': name = 'index' return render(name) diff --git a/templates/root.mako b/templates/root.mako index 39ee098..46fd88f 100644 --- a/templates/root.mako +++ b/templates/root.mako @@ -1,8 +1,8 @@ - + - + ${self.title()} ${self.style()} -- cgit v1.2.3