summaryrefslogtreecommitdiff
path: root/IkiWiki/Setup/Standard.pm
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Setup/Standard.pm')
-rw-r--r--IkiWiki/Setup/Standard.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/IkiWiki/Setup/Standard.pm b/IkiWiki/Setup/Standard.pm
index 4082ca7af..b1418ae34 100644
--- a/IkiWiki/Setup/Standard.pm
+++ b/IkiWiki/Setup/Standard.pm
@@ -30,6 +30,9 @@ sub setup_standard {
}
delete $setup{disable_plugins};
}
+ if (exists $setup{exclude}) {
+ $config{wiki_file_prune_regexp}=qr/$config{wiki_file_prune_regexp}|$setup{exclude}/;
+ }
debug("generating wrappers..");
my @wrappers=@{$setup{wrappers}};