diff options
-rw-r--r-- | IkiWiki/Plugin/aggregate.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/aggregate.pm b/IkiWiki/Plugin/aggregate.pm index 0869d6d8f..68ff6a616 100644 --- a/IkiWiki/Plugin/aggregate.pm +++ b/IkiWiki/Plugin/aggregate.pm @@ -51,10 +51,11 @@ sub checkconfig () { #{{{ sub needsbuild (@) { #{{{ my $needsbuild=shift; + + loadstate(); # if not already loaded foreach my $page (keys %pagestate) { if (grep { $_ eq $pagesources{$page} } @$needsbuild) { - loadstate(); # if not already loaded # Mark all feeds originating on this page as removable; # preprocess will unmark those that still exist. remove_feeds($page); |