parentlinks: fixed links when po plugin is enabled

(and usedirs is disabled)

Signed-off-by: intrigeri <intrigeri@boum.org>
master
intrigeri 2008-11-12 17:36:00 +01:00
parent aed42eb34a
commit e18a9d9a88
1 changed files with 1 additions and 1 deletions

View 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,