sipb-www
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2184911
)
Don't show top level breadcrumb
author
Quentin Smith
<quentin@mit.edu>
Thu, 15 Jan 2009 09:35:49 +0000
(
04:35
-0500)
committer
Quentin Smith
<quentin@mit.edu>
Thu, 15 Jan 2009 09:35:49 +0000
(
04:35
-0500)
IkiWiki/Plugin/parentlinks.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/parentlinks.pm
b/IkiWiki/Plugin/parentlinks.pm
index ebf1d449ae50522dac1174176810c4bd3db99799..f172151bd2b1e21af3d0ff421f1622cda94c9bc9 100644
(file)
--- a/
IkiWiki/Plugin/parentlinks.pm
+++ b/
IkiWiki/Plugin/parentlinks.pm
@@
-35,6
+35,8
@@
sub parentlinks ($) {
next if $dir eq 'index';
$depth=$i;
$height=($pagedepth - $depth);
+ $path.="/".$dir;
+ $title=pagetitle($dir);
push @ret, {
url => urlto($path, $page),
page => $title,
@@
-43,8
+45,6
@@
sub parentlinks ($) {
"depth_$depth" => 1,
"height_$height" => 1,
};
- $path.="/".$dir;
- $title=pagetitle($dir);
$i++;
}
return @ret;