use a div, not a p .. and in html5, a nav
parent
b21df5029b
commit
932fc0c25f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue