From 169ead7bcae74a9b8f59100afddf0ad66762288d Mon Sep 17 00:00:00 2001 From: fred1m Date: Fri, 22 May 2020 16:36:02 +0200 Subject: [PATCH] ikiwiki: Enable 'attachment' plugin by default Closes #1848. Reviewed-by: James Valleroy --- plinth/modules/ikiwiki/data/etc/ikiwiki/plinth-blog.setup | 2 +- plinth/modules/ikiwiki/data/etc/ikiwiki/plinth-wiki.setup | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plinth/modules/ikiwiki/data/etc/ikiwiki/plinth-blog.setup b/plinth/modules/ikiwiki/data/etc/ikiwiki/plinth-blog.setup index 2a8ff8f2c..3db2ccc59 100644 --- a/plinth/modules/ikiwiki/data/etc/ikiwiki/plinth-blog.setup +++ b/plinth/modules/ikiwiki/data/etc/ikiwiki/plinth-blog.setup @@ -25,7 +25,7 @@ IkiWiki::Setup::Automator->import( cgiurl => "/ikiwiki/$wikiname_short/ikiwiki.cgi", cgiauthurl => "/ikiwiki-auth/$wikiname_short/ikiwiki.cgi", cgi_wrapper => "/var/www/ikiwiki/$wikiname_short/ikiwiki.cgi", - add_plugins => [qw{goodstuff websetup comments calendar sidebar trail httpauth lockedit opendiscussion moderatedcomments userlist remove}], + add_plugins => [qw{goodstuff websetup comments calendar sidebar trail httpauth lockedit opendiscussion moderatedcomments userlist remove attachment}], rss => 1, atom => 1, syslog => 1, diff --git a/plinth/modules/ikiwiki/data/etc/ikiwiki/plinth-wiki.setup b/plinth/modules/ikiwiki/data/etc/ikiwiki/plinth-wiki.setup index 1abc066ec..d290c24de 100644 --- a/plinth/modules/ikiwiki/data/etc/ikiwiki/plinth-wiki.setup +++ b/plinth/modules/ikiwiki/data/etc/ikiwiki/plinth-wiki.setup @@ -25,7 +25,7 @@ IkiWiki::Setup::Automator->import( cgiurl => "/ikiwiki/$wikiname_short/ikiwiki.cgi", cgiauthurl => "/ikiwiki-auth/$wikiname_short/ikiwiki.cgi", cgi_wrapper => "/var/www/ikiwiki/$wikiname_short/ikiwiki.cgi", - add_plugins => [qw{goodstuff websetup httpauth}], + add_plugins => [qw{goodstuff websetup httpauth attachment}], rss => 1, atom => 1, syslog => 1,