diff options
author | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2012-01-11 13:00:11 -0800 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2012-01-11 13:00:11 -0800 |
commit | 9c508d26336c70bcb901b0b93359e1e0cd1f8af8 (patch) | |
tree | 7419577c74adc9ec8c0f3ec864d48c899839284d | |
parent | ed16fabf2d0586e1aa18673a659ee2e3a0687001 (diff) | |
download | piny-code-9c508d26336c70bcb901b0b93359e1e0cd1f8af8.tar.gz piny-code-9c508d26336c70bcb901b0b93359e1e0cd1f8af8.zip |
Piny::Repo: Adding support for 0640+search
-rw-r--r-- | libpiny/lib/Piny/Repo.pm | 4 | ||||
-rw-r--r-- | libpiny/share/ikiwiki.setup | 2 |
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} |