From dd679e0812c5885d6ddf66ff49a9ca01864f42ef Mon Sep 17 00:00:00 2001 From: Sayak Mukhopadhyay Date: Wed, 26 Mar 2025 21:29:39 +0530 Subject: [PATCH] feat: use ui_seach directly --- layouts/partials/search-input-custom.html | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/layouts/partials/search-input-custom.html b/layouts/partials/search-input-custom.html index 265d45a7ed..16e2c80818 100644 --- a/layouts/partials/search-input-custom.html +++ b/layouts/partials/search-input-custom.html @@ -2,14 +2,6 @@ {{ $lang := .Site.Language.Lang }} {{ $searchFile := printf "content/%s/search.md" $lang }} -{{ $check := "" }} -{{ if T "ui_search_placeholder" }} -{{ warnf "The search bar placeholder for the language %s is using a custom \"ui_search_placeholder\" key. Please change the key in the translations to the Docsy provided \"ui_search\"." $lang }} -{{ $check = T "ui_search_placeholder" }} -{{ else }} -{{ $check = T "ui_search" }} -{{ end }} - \ No newline at end of file