summaryrefslogtreecommitdiffstats
path: root/layouts/shortcodes/form-search.html
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-07-16 22:07:21 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-07-16 22:07:21 +0200
commit624fcebe7758611fd9051d286daa362d72cc873f (patch)
treef32483bb4cc21558a8fc43a456efb54d62a4e418 /layouts/shortcodes/form-search.html
parent658bde848b4eefb16e0ecdb68de233677e39d5c9 (diff)
downloadgohugo-theme-ed-624fcebe7758611fd9051d286daa362d72cc873f.tar.gz
Do not show error if there is no search term
Diffstat (limited to 'layouts/shortcodes/form-search.html')
-rw-r--r--layouts/shortcodes/form-search.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/shortcodes/form-search.html b/layouts/shortcodes/form-search.html
index 403d808..94a951c 100644
--- a/layouts/shortcodes/form-search.html
+++ b/layouts/shortcodes/form-search.html
@@ -62,7 +62,7 @@
{{- /* Configure search engine. */ -}}
{{- $maxSummaryLength := site.Params.search.maxSummaryLength | default 100 -}}
{{- $searchConfig := dict "indexURI" ("/index.json" | relLangURL) "maxSummaryLength" $maxSummaryLength -}}
-{{- $searchI18n := dict "enterTerm" (i18n "search_enter_term") "noResults" (i18n "search_no_results") -}}
+{{- $searchI18n := dict "noResults" (i18n "search_no_results") -}}
{{- $searchParams := dict "searchConfig" $searchConfig "i18n" $searchI18n -}}
{{- $siteSearch := slice -}}