summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/parentlinks.pm
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Plugin/parentlinks.pm')
-rw-r--r--IkiWiki/Plugin/parentlinks.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/parentlinks.pm b/IkiWiki/Plugin/parentlinks.pm
index ebf1d449a..1ee69cbff 100644
--- a/IkiWiki/Plugin/parentlinks.pm
+++ b/IkiWiki/Plugin/parentlinks.pm
@@ -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,