summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/linkmap.pm
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Plugin/linkmap.pm')
-rw-r--r--IkiWiki/Plugin/linkmap.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/IkiWiki/Plugin/linkmap.pm b/IkiWiki/Plugin/linkmap.pm
index 80257097a..c50559829 100644
--- a/IkiWiki/Plugin/linkmap.pm
+++ b/IkiWiki/Plugin/linkmap.pm
@@ -49,9 +49,7 @@ sub genmap ($) { #{{{
my %mapitems = ();
foreach my $item (keys %links) {
if (pagespec_match($item, $params{pages}, $params{page})) {
- my $link=htmlpage($item);
- $link=IkiWiki::abs2rel($link, IkiWiki::dirname($params{page}));
- $mapitems{$item}=$link;
+ $mapitems{$item}=urlto($item, $params{destpage});
}
}