aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/google.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-05-02 13:49:56 -0400
committerJoey Hess <joey@kitenet.net>2010-05-02 13:49:56 -0400
commitb21df5029b94c5680d8a3e5f0c1ed40a660a1594 (patch)
treeea68a4c4a2657119a00a0f55f434bd034a89ee79 /IkiWiki/Plugin/google.pm
parent970373548fda77223ebbeb6aadbdbe4884b67cef (diff)
downloadikiwiki-b21df5029b94c5680d8a3e5f0c1ed40a660a1594.tar
ikiwiki-b21df5029b94c5680d8a3e5f0c1ed40a660a1594.tar.gz
Add placeholder text in search form (in html5 mode only).
Diffstat (limited to 'IkiWiki/Plugin/google.pm')
-rw-r--r--IkiWiki/Plugin/google.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/google.pm b/IkiWiki/Plugin/google.pm
index 85467fa0b..68cde261c 100644
--- a/IkiWiki/Plugin/google.pm
+++ b/IkiWiki/Plugin/google.pm
@@ -42,6 +42,7 @@ sub pagetemplate (@) {
if (! defined $form) {
my $searchform = template("googleform.tmpl", blind_cache => 1);
$searchform->param(url => $config{url});
+ $searchform->param(html5 => $config{html5});
$form=$searchform->output;
}