use a div, not a p .. and in html5, a nav

master
Joey Hess 2010-05-02 14:41:20 -04:00
parent b21df5029b
commit 932fc0c25f
1 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ sub pagetemplate (@) {
sub mirrorlist ($) {
my $page=shift;
return "<p>".
return ($config{html5} ? '<nav id="mirrorlist">' : '<div>').
(keys %{$config{mirrorlist}} > 1 ? gettext("Mirrors") : gettext("Mirror")).
": ".
join(", ",
@ -50,7 +50,7 @@ sub mirrorlist ($) {
qq{">$_</a>}
} keys %{$config{mirrorlist}}
).
"</p>";
($config{html5} ? '</nav>' : '</div>');
}
1