]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/aggregate.pm
* Replace underscores in shortcut texts with spaces when formatting for
[ikiwiki.git] / IkiWiki / Plugin / aggregate.pm
index d25ebbb3f0bd16f2d20847571421b3d83c57674c..7fceb0df3d54112478f25ab946477bd418416ee5 100644 (file)
@@ -317,7 +317,7 @@ sub add_page (@) { #{{{
                my $max=POSIX::pathconf($config{srcdir}, &POSIX::_PC_NAME_MAX);
                if (defined $max && length(htmlpage($page)) >= $max) {
                        $c="";
-                       $page="item";
+                       $page=$feed->{dir}."/item";
                        while (exists $IkiWiki::pagecase{lc $page.$c} ||
                               -e pagefile($page.$c)) {
                                $c++