aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/inline.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-05-02 16:12:08 -0400
committerJoey Hess <joey@kitenet.net>2010-05-02 16:12:08 -0400
commit154732dc4235b7b31191975da50d780a2765fa02 (patch)
treeabdbad993f1c5c4ad53e46ebdf230a1fcb4c5b47 /IkiWiki/Plugin/inline.pm
parentcbe0726b6345bceed3ebc7fbd5ea2454dce63b15 (diff)
downloadikiwiki-154732dc4235b7b31191975da50d780a2765fa02.tar
ikiwiki-154732dc4235b7b31191975da50d780a2765fa02.tar.gz
adapt comment.tmpl to html5
Note that I put comment-header in a <header> despite it being below the comment. Using a <footer> would be confusing given the class name. Also, the content is semantically closer to a header than a footer.
Diffstat (limited to 'IkiWiki/Plugin/inline.pm')
-rw-r--r--IkiWiki/Plugin/inline.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm
index 2df59f414..933e30646 100644
--- a/IkiWiki/Plugin/inline.pm
+++ b/IkiWiki/Plugin/inline.pm
@@ -362,6 +362,7 @@ sub preprocess_inline (@) {
$template->param(mtime => displaytime($pagemtime{$page}, $params{timeformat}));
$template->param(first => 1) if $page eq $list[0];
$template->param(last => 1) if $page eq $list[$#list];
+ $template->param(html5 => $config{html5});
if ($actions) {
my $file = $pagesources{$page};