Provide a UUID in edittemplate templates.
[ikiwiki.git] / IkiWiki / Plugin / google.pm
index 529a2c801fedbe08a4e10f3e472479f334745a82..68cde261c66748c5d32475657986ce9d465fbbbf 100644 (file)
@@ -28,7 +28,7 @@ sub checkconfig () {
        
        # This is a mass dependency, so if the search form template
        # changes, every page is rebuilt.
-       add_depends("", "googleform.tmpl");
+       add_depends("", "templates/googleform.tmpl");
 }
 
 my $form;
@@ -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;
                }