aboutsummaryrefslogtreecommitdiff
path: root/templates/page.tmpl
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-05-01 20:40:31 -0400
committerJoey Hess <joey@kitenet.net>2010-05-01 20:49:18 -0400
commita547d2685866898665fad221939b0b820a42a088 (patch)
tree755759b08dc571425e677d121a3fd0552c110b72 /templates/page.tmpl
parentccafb10007731d04e0ff6aa36978690e6dfa6dec (diff)
downloadikiwiki-a547d2685866898665fad221939b0b820a42a088.tar
ikiwiki-a547d2685866898665fad221939b0b820a42a088.tar.gz
html5 option
* Ikiwiki can be configured to generate html5 instead of the default xhtml 1.0. The html5 output mode is experimental, not yet fully standards compliant, and will be subject to rapid change.
Diffstat (limited to 'templates/page.tmpl')
-rw-r--r--templates/page.tmpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl
index 7e850a56b..661d4a515 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -1,6 +1,9 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+<TMPL_IF HTML5><!DOCTYPE html>
+<html>
+<TMPL_ELSE><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
+</TMPL_IF>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Cache-Control" content="must-revalidate" />