]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/parentlinks.pm
po(change): reset renamed pages status at a better time
[git.ikiwiki.info.git] / IkiWiki / Plugin / parentlinks.pm
index 4525145d6968d9a55e5dd6c2cc2bef360f188ae9..9095dabdaf176726b6a514e9edb605c8d06eb4e3 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,
@@ -44,7 +44,7 @@ sub parentlinks ($) { #{{{
                        "height_$height" => 1,
                };
                $path.="/".$dir;
-               $title=IkiWiki::pagetitle($dir);
+               $title=pagetitle($dir);
                $i++;
        }
        return @ret;