From: intrigeri Date: Wed, 12 Nov 2008 16:36:00 +0000 (+0100) Subject: parentlinks: fixed links when po plugin is enabled X-Git-Tag: 3.15~337 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e18a9d9a881897cbef82adfd992fe0a38c86d8d4;p=ikiwiki.git parentlinks: fixed links when po plugin is enabled (and usedirs is disabled) Signed-off-by: intrigeri --- 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,