pedigree: added DISTANCE loop variable
Signed-off-by: intrigeri <intrigeri@boum.org>master
parent
b857b229d8
commit
b391b5a80b
|
@ -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)),
|
||||
|
|
Loading…
Reference in New Issue