From 30a4d643c798adcaec646a4cd8e82f0bc3fd77ea Mon Sep 17 00:00:00 2001 From: Eltrac Date: Fri, 29 Aug 2025 23:41:02 +0800 Subject: refactor: move search UI to categories page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - remove global search panel (according to my web analytics, the search panel is rarely used) - remove relevant instructions and scripts - rename 'categories' to a more abstract and acurate name, 'find' (搜寻) --- layouts/_partials/components/global-search.html | 87 ------------------------- layouts/_partials/home/home-nav.html | 4 +- 2 files changed, 1 insertion(+), 90 deletions(-) delete mode 100644 layouts/_partials/components/global-search.html (limited to 'layouts/_partials') diff --git a/layouts/_partials/components/global-search.html b/layouts/_partials/components/global-search.html deleted file mode 100644 index 674ecdcc..00000000 --- a/layouts/_partials/components/global-search.html +++ /dev/null @@ -1,87 +0,0 @@ - - -
- - -
-
- - -
diff --git a/layouts/_partials/home/home-nav.html b/layouts/_partials/home/home-nav.html index cbeb034d..d6e8960e 100644 --- a/layouts/_partials/home/home-nav.html +++ b/layouts/_partials/home/home-nav.html @@ -20,9 +20,7 @@ (strings.HasPrefix $.Page.RelPermalink "/tags/")) ) }} {{ end }} -
  • - {{ T "searchInstruction" }} -
  • +