From 9c508d26336c70bcb901b0b93359e1e0cd1f8af8 Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Wed, 11 Jan 2012 13:00:11 -0800 Subject: Piny::Repo: Adding support for 0640+search --- libpiny/lib/Piny/Repo.pm | 4 ++++ libpiny/share/ikiwiki.setup | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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} -- cgit v1.2.3