X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/903213e63fd6c409046f66e73881aba33c3926de..575d4021e3a2da519f20d83be4916cb172ec5e2f:/IkiWiki/Plugin/mirrorlist.pm diff --git a/IkiWiki/Plugin/mirrorlist.pm b/IkiWiki/Plugin/mirrorlist.pm index 7e53fe068..aab60c435 100644 --- a/IkiWiki/Plugin/mirrorlist.pm +++ b/IkiWiki/Plugin/mirrorlist.pm @@ -29,8 +29,11 @@ sub pagetemplate (@) { #{{{ my %params=@_; my $template=$params{template}; - $template->param(extrafooter => mirrorlist($params{page})) - if $template->query(name => "extrafooter"); + if ($template->query(name => "extrafooter")) { + my $value=$template->param("extrafooter"); + $value.=mirrorlist($params{page}); + $template->param(extrafooter => $value); + } } # }}} sub mirrorlist ($) { #{{{