mirror of
https://github.com/docker/docs.git
synced 2026-06-19 07:35:16 +00:00
33226cf897
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
31 lines
1.1 KiB
HTML
31 lines
1.1 KiB
HTML
<div class="flex w-full gap-8">
|
|
<article class="prose dark:prose-invert max-w-4xl min-w-0 flex-[2_2_0%]">
|
|
{{ partial "breadcrumbs.html" . }}
|
|
<div class="flex items-start justify-between">
|
|
<h1 data-pagefind-weight="10">{{ .Title | safeHTML }}</h1>
|
|
<div class="md-dropdown ml-auto hidden lg:block">
|
|
{{ partial "md-dropdown.html" . }}
|
|
</div>
|
|
</div>
|
|
<div class="block lg:hidden">
|
|
{{ partialCached "pagemeta.html" . . }}
|
|
<hr />
|
|
</div>
|
|
{{ .Content }}
|
|
{{- if and (eq .Type "guides") (not .IsSection) (ne .CurrentSection .FirstSection) -}}
|
|
{{- with .PrevInSection -}}
|
|
<div class="not-prose col-start-2 my-4">
|
|
<a
|
|
href="{{ .Permalink }}"
|
|
class="cursor-pointer rounded-sm bg-blue-500 px-4 py-2 text-white hover:bg-blue-400 dark:bg-blue-800 dark:hover:bg-blue-700"
|
|
>{{ .Title }} »</a
|
|
>
|
|
</div>
|
|
{{- end -}}
|
|
{{- end -}}
|
|
</article>
|
|
<div class="-mt-8 hidden min-w-48 flex-1 lg:block">
|
|
{{ partial "aside.html" . }}
|
|
</div>
|
|
</div>
|