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