pedigree: added DISTANCE loop variable

Signed-off-by: intrigeri <intrigeri@boum.org>
master
intrigeri 2008-07-14 14:52:34 +02:00
parent b857b229d8
commit b391b5a80b
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ sub pedigree ($) { #{{{
url => urlto($path, $page),
page => $title,
absdepth => $i,
distance => ($pagedepth - $i),
is_root => ($i eq 0),
is_second_ancestor => ($i eq 1),
is_grand_mother => ($i eq ($pagedepth - 2)),