summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2008-11-12 17:36:00 +0100
committerintrigeri <intrigeri@boum.org>2008-11-12 17:36:00 +0100
commite18a9d9a881897cbef82adfd992fe0a38c86d8d4 (patch)
tree9c8f3d0845deeace3200ed6bae442a3e46692325 /IkiWiki
parentaed42eb34ac50912a995dee41ce7dd6e3c3b7f81 (diff)
parentlinks: fixed links when po plugin is enabled
(and usedirs is disabled) Signed-off-by: intrigeri <intrigeri@boum.org>
Diffstat (limited to 'IkiWiki')
-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 a8b3641e9..9095dabda 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,