From 0150180a43df91ded692d222728f2aa1e5724671 Mon Sep 17 00:00:00 2001 From: David Karlsson <35727626+dvdksn@users.noreply.github.com> Date: Thu, 5 Feb 2026 17:56:53 +0000 Subject: [PATCH] site: remove /search page, redirect to homepage The search functionality is now handled entirely by the modal. Assisted-By: cagent --- content/_index.md | 2 + content/search.md | 7 -- layouts/_default/search.html | 191 ----------------------------------- 3 files changed, 2 insertions(+), 198 deletions(-) delete mode 100644 content/search.md delete mode 100644 layouts/_default/search.html diff --git a/content/_index.md b/content/_index.md index 7de643bad9..b49f900340 100644 --- a/content/_index.md +++ b/content/_index.md @@ -2,4 +2,6 @@ title: Home description: Docker Documentation is the official Docker library of resources, manuals, and guides to help you containerize applications. keywords: Docker, documentation, manual, guide, reference, api, samples +aliases: + - /search/ --- diff --git a/content/search.md b/content/search.md deleted file mode 100644 index 59f5903bbb..0000000000 --- a/content/search.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: Search -layout: search -params: - sitemap: false - icon: search ---- diff --git a/layouts/_default/search.html b/layouts/_default/search.html deleted file mode 100644 index 3192eaadaa..0000000000 --- a/layouts/_default/search.html +++ /dev/null @@ -1,191 +0,0 @@ -{{ define "left" }}{{ partial "sidebar/mainnav.html" . }}{{ end }} {{ define -"main" }} -
-

{{ .Title }}

- {{ .Content }} -
-
- -
-

- Not finding what you're looking for? Try -

- -
-
-
-
- -
-
-
- -{{ end }}