aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2008-12-23 16:08:21 -0500
committerJoey Hess <joey@gnu.kitenet.net>2008-12-23 16:08:21 -0500
commit14a9e704c1f11510fe8b16e161de69646e869bd0 (patch)
tree8bc438a1087b10437d2cf4049d4176e1803afa31 /IkiWiki/Plugin
parent276798fbca4409b91c0cad99b45cb334cbb49129 (diff)
downloadikiwiki-14a9e704c1f11510fe8b16e161de69646e869bd0.tar
ikiwiki-14a9e704c1f11510fe8b16e161de69646e869bd0.tar.gz
enable aggregate_internal by default
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/aggregate.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/aggregate.pm b/IkiWiki/Plugin/aggregate.pm
index 97dd036f6..d06a648f6 100644
--- a/IkiWiki/Plugin/aggregate.pm
+++ b/IkiWiki/Plugin/aggregate.pm
@@ -46,7 +46,7 @@ sub getsetup () {
},
aggregateinternal => {
type => "boolean",
- example => 0,
+ example => 1,
description => "enable aggregation to internal pages?",
safe => 0, # enabling needs manual transition
rebuild => 0,
@@ -61,6 +61,10 @@ sub getsetup () {
}
sub checkconfig () {
+ if (! defined $config{aggregateinternal}) {
+ $config{aggregateinternal}=1;
+ }
+
if ($config{aggregate} && ! ($config{post_commit} &&
IkiWiki::commit_hook_enabled())) {
launchaggregation();