← hugo-clarity

Set blog_search_field_placeholder i18n key #424

d42674ac8bada2a6872ba079951444cac230ae59 · takakd · Feb 17, 2023 23:46

Signed-off-by: takakd <13297326+takakd@users.noreply.github.com>

+1 −1 · 1 file changed

  • layouts/partials/search/widget.html +1 −1
diff --git a/layouts/partials/search/widget.html b/layouts/partials/search/widget.html
index d5dbdef..f6d54e3 100644
--- a/layouts/partials/search/widget.html
+++ b/layouts/partials/search/widget.html
@@ -5,7 +5,7 @@
   {{- $simple := true }}
   {{- if and (eq $section "support") (eq .CurrentSection .FirstSection) }}
   {{- else }}
-    {{- $placeholder = "Search..." }}
+    {{- $placeholder =  T "blog_search_field_placeholder" }}
     {{- $simple = false }}
   {{ end }}
   <div class="search">