summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpiny/lib/Piny/Repo.pm4
-rw-r--r--libpiny/share/ikiwiki.setup2
2 files changed, 5 insertions, 1 deletions
diff --git a/libpiny/lib/Piny/Repo.pm b/libpiny/lib/Piny/Repo.pm
index 0ca2631..f0926b2 100644
--- a/libpiny/lib/Piny/Repo.pm
+++ b/libpiny/lib/Piny/Repo.pm
@@ -674,6 +674,10 @@ sub _build_ikiwiki_setup {
, "notify" => 0
}
];
+ # Search relies on cgiurl
+ push(@{$conf->{add_plugins}}, qw{
+ search
+ });
};
if ( -e "/etc/ikiwiki/piny.setup.pl" ) {
diff --git a/libpiny/share/ikiwiki.setup b/libpiny/share/ikiwiki.setup
index 7f0fca0..67c54ab 100644
--- a/libpiny/share/ikiwiki.setup
+++ b/libpiny/share/ikiwiki.setup
@@ -52,7 +52,7 @@ use IkiWiki::Setup::Standard {
prefix_directives => 1,
httpauth => 1,
# To add plugins, list them here.
- add_plugins => [qw{autoindex sidebar toc meta table tag graphviz httpauth img attachment rename remove map search teximg version edittemplate rawhtml}],
+ add_plugins => [qw{autoindex sidebar toc meta table tag graphviz httpauth img attachment rename remove map teximg version edittemplate rawhtml}],
disable_plugins => [qw{openid passwordauth htmlscrubber}],
teximg_prefix => "\\documentclass{scrartcl}