]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/parentlinks.pm
po/todo: update
[git.ikiwiki.info.git] / IkiWiki / Plugin / parentlinks.pm
index ebf1d449ae50522dac1174176810c4bd3db99799..1ee69cbff4901695117e1d335f106d1dcb044367 100644 (file)
@@ -36,7 +36,7 @@ sub parentlinks ($) {
                $depth=$i;
                $height=($pagedepth - $depth);
                push @ret, {
-                       url => urlto($path, $page),
+                       url => urlto(bestlink($page, $path), $page),
                        page => $title,
                        depth => $depth,
                        height => $height,