mirror of https://github.com/docker/docs.git
site: use common base layout in search layout
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
parent
4443d3640a
commit
a2497ef464
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
cascade:
|
||||
- build:
|
||||
list: local
|
||||
list: never
|
||||
publishResources: false
|
||||
render: never
|
||||
---
|
||||
|
|
|
@ -391,7 +391,6 @@
|
|||
"mt-1",
|
||||
"mt-2",
|
||||
"mt-20",
|
||||
"mt-auto",
|
||||
"mx-auto",
|
||||
"my-0",
|
||||
"my-2",
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
{{ define "left" }}
|
||||
{{ partial "sidebar.html" . }}
|
||||
{{ end }}
|
||||
|
||||
<head>
|
||||
{{ partial "head.html" . }}
|
||||
</head>
|
||||
|
||||
<body class="flex min-h-screen flex-col bg-background-light text-base dark:bg-background-dark dark:text-white">
|
||||
{{ partial "header.html" . }}
|
||||
<main class="flex justify-center">
|
||||
{{ define "main" }}
|
||||
<div class="w-lvw overflow-clip p-6 pt-0 lg:w-[1200px]">
|
||||
<article class="prose max-w-none dark:prose-invert">
|
||||
<h1 class="py-4">{{ .Title }}</h1>
|
||||
|
@ -31,8 +26,6 @@
|
|||
</div>
|
||||
</article>
|
||||
</div>
|
||||
</main>
|
||||
<footer class="mt-auto">{{ partialCached "footer.html" . }}</footer>
|
||||
<script type="module">
|
||||
// Global variable to hold the pagefind module
|
||||
let pagefind;
|
||||
|
@ -180,6 +173,4 @@
|
|||
});
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue