diff options
author | Joey Hess <joey@kitenet.net> | 2011-03-21 14:32:46 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-03-21 14:32:46 -0400 |
commit | 101321752362ba3117909fb5913edc2d396f9133 (patch) | |
tree | cded3f737d699b5b75b378a876ceff34f343a15d /IkiWiki/Plugin | |
parent | 26eb86d9036f8191db0c86031afe648dd6ba4ebc (diff) | |
download | ikiwiki-101321752362ba3117909fb5913edc2d396f9133.tar ikiwiki-101321752362ba3117909fb5913edc2d396f9133.tar.gz |
call aggregate checkconfig last
Since the plugin abuses the checkconfig hook to launch aggregation when in
--aggregate mode, it should give other plugins that have checkconfig hooks
a chance to run before they are possibly used in rendering the aggregated
content.
Diffstat (limited to 'IkiWiki/Plugin')
-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 5e9673560..614c3fa55 100644 --- a/IkiWiki/Plugin/aggregate.pm +++ b/IkiWiki/Plugin/aggregate.pm @@ -16,7 +16,8 @@ my %guids; sub import { hook(type => "getopt", id => "aggregate", call => \&getopt); hook(type => "getsetup", id => "aggregate", call => \&getsetup); - hook(type => "checkconfig", id => "aggregate", call => \&checkconfig); + hook(type => "checkconfig", id => "aggregate", call => \&checkconfig, + last => 1); hook(type => "needsbuild", id => "aggregate", call => \&needsbuild); hook(type => "preprocess", id => "aggregate", call => \&preprocess); hook(type => "delete", id => "aggregate", call => \&delete); |