# IMPORTANT! If you add plugins that involve interface changes, you
# will need to modify our templates to allow this, as our custom
# template does not support them yet. See ~/src/ikiwiki/templates
- add_plugins => [qw(goodstuff html httpauth rename remove)],
+ add_plugins => [qw(goodstuff html httpauth rename remove 404 attachment color)],
# plugins to disable
# IMPORTANT! If you reenable passwordauth/openid, you need to
# do some modifications described in TODO.SIPB in the source-tree
# attachment plugin
# enhanced PageSpec specifying what attachments are allowed
- #allowed_attachments => 'virusfree() and mimetype(image/*) and maxsize(50kb)',
+ allowed_attachments => 'virusfree() and (mimetype(image/*) or mimetype(application/pdf)) and maxsize(10000kb)',
# virus checker program (reads STDIN, returns nonzero if virus found)
- #virus_checker => 'clamdscan -',
+ virus_checker => 'clamscan -',
# calendar plugin
# base of the archives hierarchy
%setup_args = (
%common_setup_args,
- srcdir => catdir($self_path, "wiki"),
+ srcdir => catdir($git_root, "wiki"),
destdir => $ENV{"IKIWIKI_PREVIEW_OUTPUT"},
url => 'http://sipb.mit.edu',
templatedir => catdir($ENV{"IKIWIKI_SHARE"}, 'templates'),