fix a bug that doubled the search box
[ikiwiki.git] / IkiWiki / Wrapper.pm
index 52a7ca2c70e4ab05b45e5b3c2b852e43e57731f0..7d27abd06a6e742b66349115ef4107136f36e11f 100644 (file)
@@ -47,6 +47,10 @@ EOF
 EOF
        }
        
+       # This is only set by plugins, which append to it on startup, so
+       # avoid storing it in the wrapper.
+       $config{headercontent}="";
+       
        $Data::Dumper::Indent=0; # no newlines
        my $configstring=Data::Dumper->Dump([\%config], ['*config']);
        $configstring=~s/\\/\\\\/g;