aboutsummaryrefslogtreecommitdiff
path: root/templates/ikiwiki.setup.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/ikiwiki.setup.erb')
-rw-r--r--templates/ikiwiki.setup.erb5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/ikiwiki.setup.erb b/templates/ikiwiki.setup.erb
index 1bf684d..786dcbe 100644
--- a/templates/ikiwiki.setup.erb
+++ b/templates/ikiwiki.setup.erb
@@ -124,7 +124,7 @@ use IkiWiki::Setup::Standard {
# To create output files named page.html rather than page/index.html.
#usedirs => 0,
# Simple spam prevention: require an account-creation password.
- #account_creation_password => "example",
+<%= if account_creation_password != false %> account_creation_password => "<%= account_creation_password %>",<%= end %>
# Cost of generating a password using Authen::Passphrase::BlowfishCrypt
#password_cost => 8,
# Uncomment to force ikiwiki to run with a particular umask.
@@ -143,9 +143,10 @@ use IkiWiki::Setup::Standard {
# To add plugins, list them here.
#add_plugins => [qw{goodstuff search wikitext camelcase
# htmltidy fortune sidebar map rst anonok}],
+<%= if add_plugins != false %> add_plugins => [qw{<%= add_plugins %>}],<%= end %>
# If you want to disable any of the default plugins, list them here.
#disable_plugins => [qw{inline htmlscrubber passwordauth openid}],
- disable_plugins => [qw{openid}],
+<%= if disable_plugins != false %> disable_plugins => [qw{<%= disable_plugins %>}],<%= end %>
# To add a directory to the perl search path, use this.
#libdir => "/home/me/.ikiwiki/",