diff options
author | Joey Hess <joey@kitenet.net> | 2010-05-14 21:42:48 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-05-14 21:42:48 -0400 |
commit | 4c6fa6413fc26ddbb1f8dc2c73f97a105c5002f8 (patch) | |
tree | 77aaf322a35f671a6ee91ce2ed1b67b8dd012e85 /IkiWiki/Plugin | |
parent | f69c072d8aad7ad68547f17bf60bd804542b064f (diff) |
avoid showing redundant search box on search results page
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/search.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/search.pm b/IkiWiki/Plugin/search.pm index cc26b7ac1..a9089620b 100644 --- a/IkiWiki/Plugin/search.pm +++ b/IkiWiki/Plugin/search.pm @@ -228,7 +228,8 @@ sub setupfiles () { # Avoid omega interpreting anything in the misctemplate # as an omegascript command. - my $misctemplate=IkiWiki::misctemplate(gettext("search"), "\0"); + my $misctemplate=IkiWiki::misctemplate(gettext("search"), "\0", + searching => 1); eval q{use HTML::Entities}; error $@ if $@; $misctemplate=encode_entities($misctemplate, '\$'); |