www.FreeBSD.org: fix search box

This is a quick fix (or workaround) for the search function of www.freebsd.org.
It adds the correct duckduckgo "site:" parameters for the freebsd.org sites we
want to search for the keyword.

Reviewed by:	bcr, allanjude
Differential Revision:	https://reviews.freebsd.org/D24590
This commit is contained in:
Li-Wen Hsu 2020-04-27 16:53:13 +00:00
parent 70057e443b
commit 184d4418ab
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=54076

View file

@ -64,9 +64,9 @@
<!ENTITY header2.searchbox '
<div id="search" xmlns="http://www.w3.org/1999/xhtml">
<form method="get" id="search-form" action="https://duckduckgo.com/">
<form method="get" id="search-form" action="https://duckduckgo.com/"
onsubmit="document.getElementById(&#39;words&#39;).value+=&#39; site: www.FreeBSD.org site: docs.FreeBSD.org site: lists.FreeBSD.org site: wiki.FreeBSD.org site: forums.FreeBSD.org&#39;">
<h2 class="blockhide"><label for="words">&header2.word.search;</label></h2>
<input type="hidden" name="sites" value="www.FreeBSD.org,docs.FreeBSD.org,lists.FreeBSD.org,wiki.FreeBSD.org,forums.FreeBSD.org" />
<input type="hidden" name="ka" value="v" />
<input type="hidden" name="kt" value="v" />
<input type="hidden" name="kh" value="1" />