From e18a9d9a881897cbef82adfd992fe0a38c86d8d4 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Wed, 12 Nov 2008 17:36:00 +0100 Subject: [PATCH] parentlinks: fixed links when po plugin is enabled (and usedirs is disabled) Signed-off-by: intrigeri --- IkiWiki/Plugin/parentlinks.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.44.0