]> git.decadent.org.uk Git - maypole.git/blobdiff - templates/factory/header
Fixes to XHTML & CSS compability.
[maypole.git] / templates / factory / header
index 8712c85b096ac5a00d583f0e43d144a9897db52c..a7bc34818eeadf38878b6d459ceaf608b9054855 100644 (file)
@@ -4,11 +4,13 @@
     <head>
         <title>
             [%
-                config.application_name ||
+              title || config.application_name ||
                 "A poorly configured Maypole application"
             %]
         </title>
-        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+        <meta http-equiv="Content-Type" content="text/html; charset=[% 
+           request.document_encoding
+       %]"/>
         <link title="Maypole" href="/maypole.css" type="text/css"
             rel="stylesheet"/>
    </head>