diff options
author | Joey Hess <joey@kitenet.net> | 2010-05-02 16:45:13 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-05-02 16:45:13 -0400 |
commit | 36688de7c66bf0a1c252c04b6ee79da04232a742 (patch) | |
tree | b2d7deac3f5cfa67f730c9992ed4c0fc85ee05e7 | |
parent | 677d2af18aaafdfa1532e9eaff3c39107ec169f6 (diff) | |
download | ikiwiki-36688de7c66bf0a1c252c04b6ee79da04232a742.tar ikiwiki-36688de7c66bf0a1c252c04b6ee79da04232a742.tar.gz |
adapt misc.tmpl to html5
-rw-r--r-- | templates/misc.tmpl | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/templates/misc.tmpl b/templates/misc.tmpl index 0b7fefa08..5654cab61 100644 --- a/templates/misc.tmpl +++ b/templates/misc.tmpl @@ -10,7 +10,7 @@ <TMPL_ELSE> <base href="<TMPL_VAR BASEURL>" /> </TMPL_IF> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<TMPL_IF HTML5><meta charset="utf-8" /><TMPL_ELSE><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></TMPL_IF> <title><TMPL_VAR TITLE></title> <TMPL_IF NAME="FAVICON"> <link rel="icon" href="<TMPL_VAR BASEURL><TMPL_VAR FAVICON>" type="image/x-icon" /> @@ -20,24 +20,24 @@ </head> <body> -<div class="pageheader"> -<div class="header"> +<TMPL_IF HTML5><section class="pageheader"><TMPL_ELSE><div class="pageheader"></TMPL_IF> +<TMPL_IF HTML5><header class="header"><TMPL_ELSE><div class="header"></TMPL_IF> <span> <TMPL_VAR INDEXLINK>/ <span class="title"> <TMPL_VAR TITLE> </span> </span> -</div> -</div> <!-- .pageheader --> +<TMPL_IF HTML5></header><TMPL_ELSE></div></TMPL_IF> +<TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF> -<div id="content"> +<TMPL_IF HTML5><section id="content"><TMPL_ELSE><div id="content"></TMPL_IF> <TMPL_VAR PAGEBODY> -</div> +<TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF> -<div id="footer" class="pagefooter"> +<TMPL_IF HTML5><footer id="footer" class="pagefooter"><TMPL_ELSE><div id="footer" class="pagefooter"></TMPL_IF> <!-- from <TMPL_VAR WIKINAME> --> -</div><!-- .pagefooter #footer --> +<TMPL_IF HTML5></footer><TMPL_ELSE></div></TMPL_IF> </body> </html> |