use warnings;
use strict;
-use IkiWiki;
+use IkiWiki 2.00;
my %tags;
delete $params{preview};
foreach my $tag (keys %params) {
+ $tag=IkiWiki::linkpage($tag);
$tags{$page}{$tag}=1;
# hidden WikiLink
push @{$links{$page}}, tagpage($tag);
$template->param(tags => [
map {
- link => htmllink($page, $destpage, tagpage($_))
+ link => htmllink($page, $destpage, tagpage($_),
+ rel => "tag")
}, sort keys %{$tags{$page}}
]) if exists $tags{$page} && %{$tags{$page}} && $template->query(name => "tags");