aboutsummaryrefslogtreecommitdiff
path: root/auto-blog.setup
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-01-16 22:42:30 -0500
committerJoey Hess <joey@gnu.kitenet.net>2009-01-16 22:42:30 -0500
commitb6f68839dbe68491352c93ab54a1c726c28f3c4a (patch)
tree6f6f1226e390dd9d3a0de4ea15e544f25426edca /auto-blog.setup
parent8e821c0e354eeedf4939be01d238678abcd65e23 (diff)
downloadikiwiki-b6f68839dbe68491352c93ab54a1c726c28f3c4a.tar
ikiwiki-b6f68839dbe68491352c93ab54a1c726c28f3c4a.tar.gz
add blogspam to auto-blog
configure it to only check comment posts for spam
Diffstat (limited to 'auto-blog.setup')
-rw-r--r--auto-blog.setup3
1 files changed, 2 insertions, 1 deletions
diff --git a/auto-blog.setup b/auto-blog.setup
index fde7f17f8..3ef734b39 100644
--- a/auto-blog.setup
+++ b/auto-blog.setup
@@ -35,7 +35,7 @@ IkiWiki::Setup::Automator->import(
cgiurl => "http://$domain/~$ENV{USER}/$wikiname/ikiwiki.cgi",
cgi_wrapper => "$ENV{HOME}/public_html/$wikiname/ikiwiki.cgi",
adminemail => "$ENV{USER}\@$domain",
- add_plugins => [qw{goodstuff websetup comments}],
+ add_plugins => [qw{goodstuff websetup comments blogspam}],
disable_plugins => [qw{}],
libdir => "$ENV{HOME}/.ikiwiki",
rss => 1,
@@ -44,5 +44,6 @@ IkiWiki::Setup::Automator->import(
example => "blog",
comments_pagespec => "posts/* and !*/Discussion",
+ blogspam_pagespec => "postcomment(*)",
discussion => 0,
)