Files
docker-docs/layouts/_partials/content-default.html
T
2026-02-23 17:29:31 +01:00

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 }} &raquo;</a
>
</div>
{{- end -}}
{{- end -}}
</article>
<div class="-mt-8 hidden min-w-48 flex-1 lg:block">
{{ partial "aside.html" . }}
</div>
</div>