From: Joey Hess Date: Sun, 2 May 2010 18:41:20 +0000 (-0400) Subject: use a div, not a p .. and in html5, a nav X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/932fc0c25ffa1da6c6eb5d398752372ba7f80165 use a div, not a p .. and in html5, a nav --- diff --git a/IkiWiki/Plugin/mirrorlist.pm b/IkiWiki/Plugin/mirrorlist.pm index 92be7913e..f54d94ad5 100644 --- a/IkiWiki/Plugin/mirrorlist.pm +++ b/IkiWiki/Plugin/mirrorlist.pm @@ -40,7 +40,7 @@ sub pagetemplate (@) { sub mirrorlist ($) { my $page=shift; - return "

". + return ($config{html5} ? '

' : ''); } 1