diff --git a/lib/404.tpl b/lib/404.tpl
index 6378d76..a1b6187 100644
--- a/lib/404.tpl
+++ b/lib/404.tpl
@@ -9,4 +9,4 @@
src="http://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js">
Or take a look at the sitemap.
-
+
diff --git a/lib/default_master.tpl b/lib/default_master.tpl
index 52743e8..e894042 100644
--- a/lib/default_master.tpl
+++ b/lib/default_master.tpl
@@ -7,7 +7,7 @@
-
+
% if(! ~ $#handlers_bar_left 0) {
diff --git a/lib/footer.inc b/lib/footer.inc
index 5e016cc..52d06fb 100644
--- a/lib/footer.inc
+++ b/lib/footer.inc
@@ -2,5 +2,5 @@
-
-
+
+
diff --git a/lib/headers.tpl b/lib/headers.tpl
index 838fe5b..635f85e 100644
--- a/lib/headers.tpl
+++ b/lib/headers.tpl
@@ -1,24 +1,22 @@
-
-
-
+
+
%($pageTitle%)
-
-
+
+
% if(test -f $sitedir/_werc/pub/style.css)
-% echo ' '
+% echo ' '
-
-
-
+
+% # Legacy charset declaration for backards compatibility with non-html5 browsers.
+
% if(! ~ $#meta_description 0)
-% echo ' '
+% echo ' '
% if(! ~ $#meta_keywords 0)
-% echo ' '
+% echo ' '
% h = `{get_lib_file headers.inc}
% if(! ~ $#h 0)