From 4cf713e5a66f1cb6185d84ec6706cd477412fe6b Mon Sep 17 00:00:00 2001 From: uriel Date: Sun, 19 Jul 2009 04:02:30 +0200 Subject: [PATCH] Start to convert templates to HTML 5 --- lib/404.tpl | 2 +- lib/default_master.tpl | 2 +- lib/footer.inc | 4 ++-- lib/headers.tpl | 22 ++++++++++------------ 4 files changed, 14 insertions(+), 16 deletions(-) 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 @@

%($"siteTitle%) %($"siteSubTitle%)

-

+

% 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 @@
User Login
-
-
+
+
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)