]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/search.pm
img: Add back support for SVG images, bypassing ImageMagick and simply passing the...
[git.ikiwiki.info.git] / IkiWiki / Plugin / search.pm
index ad3247f4bf5b0c00b3cfa7b1c137411aedabef7c..f9193b6aad5f4d4cbd385d9fb18e586436654679 100644 (file)
@@ -34,7 +34,7 @@ sub getsetup () {
                        rebuild => 0,
                },
                google_search => {
-                       type => "booblean",
+                       type => "boolean",
                        example => 1,
                        description => "use google site search rather than internal xapian index?",
                        safe => 1,
@@ -188,7 +188,7 @@ sub cgi ($) {
 
        if (defined $cgi->param('P')) {
                if ($config{google_search}) {
-                       print $cgi->redirect("https://www.google.com/search?sitesearch=$config{cgiurl}&q=".$cgi->param('P'));
+                       print $cgi->redirect("https://www.google.com/search?sitesearch=$config{url}&q=".$cgi->param('P'));
                        exit 0;
                }
                else {