From a2497ef464099385f4be60eb62448268042629b5 Mon Sep 17 00:00:00 2001 From: David Karlsson <35727626+dvdksn@users.noreply.github.com> Date: Mon, 16 Sep 2024 14:53:39 +0200 Subject: [PATCH] site: use common base layout in search layout Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com> --- content/includes/_index.md | 2 +- hugo_stats.json | 1 - layouts/_default/search.html | 63 ++++++++++++++++-------------------- 3 files changed, 28 insertions(+), 38 deletions(-) diff --git a/content/includes/_index.md b/content/includes/_index.md index 53ee6a2b05..b6bfb0ce15 100644 --- a/content/includes/_index.md +++ b/content/includes/_index.md @@ -1,7 +1,7 @@ --- cascade: - build: - list: local + list: never publishResources: false render: never --- diff --git a/hugo_stats.json b/hugo_stats.json index 5d84038a5a..699f888f96 100644 --- a/hugo_stats.json +++ b/hugo_stats.json @@ -391,7 +391,6 @@ "mt-1", "mt-2", "mt-20", - "mt-auto", "mx-auto", "my-0", "my-2", diff --git a/layouts/_default/search.html b/layouts/_default/search.html index 21945fdf04..fdc7d46c7c 100644 --- a/layouts/_default/search.html +++ b/layouts/_default/search.html @@ -1,38 +1,31 @@ - - +{{ define "left" }} + {{ partial "sidebar.html" . }} +{{ end }} - - {{ partial "head.html" . }} - - - - {{ partial "header.html" . }} -
-
-
-

{{ .Title }}

- {{ .Content }} -
-
- - -
-
-
- -
+{{ define "main" }} +
+
+

{{ .Title }}

+ {{ .Content }} +
+
+ +
-
-
-
- +
+
+ +
+ + + - - - +{{ end }}