mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07:00
- Extract classes to utilities and components. - Reduce number of colors used. - Harmonize button colors. - Restyle admonitions. - Move **Page options** button to main article. - Various color tweaks.
26 lines
693 B
HTML
26 lines
693 B
HTML
{{ define "left" }}
|
|
{{ partial "sidebar/mainnav.html" . }}
|
|
{{ partial "sidebar/tags.html" . }}
|
|
{{ end }}
|
|
|
|
{{ define "main" }}
|
|
<article class="prose max-w-none dark:prose-invert">
|
|
{{ partial "breadcrumbs.html" . }}
|
|
<h1 class="flex items-center">
|
|
<span class="icon-svg icon-lg pb-2">{{ partialCached "icon" "tag" "tag" }}</span>
|
|
</span>{{ .Title }}</span>
|
|
</h1>
|
|
{{ .Content }}
|
|
{{- range .Pages.GroupBy "Type" }}
|
|
<h2>{{ (site.GetPage .Key).LinkTitle }}</h2>
|
|
<ul>
|
|
{{ range .Pages }}
|
|
<li>
|
|
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
|
</li>
|
|
{{- end }}
|
|
</ul>
|
|
{{- end }}
|
|
</article>
|
|
{{ end }}
|