fix: search.html for relative roots

main
Henrik Böving 2023-01-29 14:07:21 +01:00
parent 3a977a94ca
commit 1c44e861be
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ def baseHtmlGenerator (title : String) (site : Array Html) : BaseHtmlM Html := d
<form action="https://google.com/search" method="get" id="search_form">
<input type="hidden" name="sitesearch" value="https://leanprover-community.github.io/mathlib4_docs"/>
<input type="text" name="q" autocomplete="off"/>&#32;
<button id="search_button" onclick="javascript: form.action='/search.html';">Search</button>
<button id="search_button" onclick={s!"javascript: form.action='{← getRoot}search.html';"}>Search</button>
<button>Google site search</button>
</form>
</header>