aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki.pm
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 /IkiWiki.pm
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 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm8
1 files changed, 8 insertions, 0 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 5ff1a5ae6..1e11d34e2 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -234,6 +234,13 @@ sub getsetup () {
safe => 1,
rebuild => 1,
},
+ html5 => {
+ type => "boolean",
+ default => 0,
+ description => "generate HTML5? (experimental)",
+ safe => 1,
+ rebuild => 1,
+ },
sslcookie => {
type => "boolean",
default => 0,
@@ -1725,6 +1732,7 @@ sub misctemplate ($$;@) {
wikiname => $config{wikiname},
pagebody => $pagebody,
baseurl => baseurl(),
+ html5 => $config{html5},
@_,
);
run_hooks(pagetemplate => sub {