projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b21df50
)
use a div, not a p .. and in html5, a nav
author
Joey Hess
<joey@kitenet.net>
Sun, 2 May 2010 18:41:20 +0000
(14:41 -0400)
committer
Joey Hess
<joey@kitenet.net>
Sun, 2 May 2010 18:41:20 +0000
(14:41 -0400)
IkiWiki/Plugin/mirrorlist.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/mirrorlist.pm
b/IkiWiki/Plugin/mirrorlist.pm
index 92be7913efaf871929d8c3e0746191888aa1f513..f54d94ad52366110e29f20575672bcd0fcc4413c 100644
(file)
--- a/
IkiWiki/Plugin/mirrorlist.pm
+++ b/
IkiWiki/Plugin/mirrorlist.pm
@@
-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