From 8665d9052697293702c0edeca77806d53afea928 Mon Sep 17 00:00:00 2001 From: Alessandro Bahgat Date: Sun, 21 Jul 2019 09:11:05 -0400 Subject: [PATCH] Remove search-query id from 404 input. Search query is propagated via the q parameter being added to the query string when users hit enter. The only reference to #search-query I found is for styling when dark theme is enabled. The search widget on the page has the right background color even when removing the id. --- layouts/404.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/404.html b/layouts/404.html index 404df1b9..d06ab005 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -7,7 +7,7 @@ {{/* Show search box if Academic's search engine is enabled. */}} {{ if eq site.Params.search.engine 1 }}
- +
{{ end }}