]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/map.pm
remove maxdepth, it can be accomplished by pagespec like ".. and !*/*/*/*"
[git.ikiwiki.info.git] / IkiWiki / Plugin / map.pm
index c65e61ac9214205aed98d5bfc280db505a7b6683..f2e8722c8e9770ff43654881da8674b751d6040f 100644 (file)
@@ -37,7 +37,6 @@ sub preprocess (@) { #{{{
        my $map = "<div class='map'>\n";
        foreach my $item (sort @mapitems) {
                my $depth = ($item =~ tr/\//\//) + 1;
-               next if exists $params{maxdepth} && $depth > $params{maxdepth};
                while ($depth < $indent) {
                        $indent--;
                        $map.="</ul>\n";