} #}}}
sub checkconfig () { #{{{
+ IkiWiki::lockwiki();
loadstate();
if ($IkiWiki::config{aggregate}) {
IkiWiki::loadindex();
aggregate();
savestate();
}
+ IkiWiki::unlockwiki();
} #}}}
sub filter (@) { #{{{
$page=$feed->{dir}."/item";
}
my $c="";
- while (exists $IkiWiki::pagecase{lc $page} ||
+ while (exists $IkiWiki::pagecase{lc $page.$c} ||
-e pagefile($page.$c)) {
$c++
}