]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/linkmap.pm
* Finally apply the index.html patch, with thanks to everyone who worked
[git.ikiwiki.info.git] / IkiWiki / Plugin / linkmap.pm
index 80257097a4fcffc240babf1cedee851bd19c8131..c5055982935c3b9ab6a9357f8dd4a8264067a04e 100644 (file)
@@ -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});
                }
        }