mirror of
https://github.com/docker/docs.git
synced 2026-03-28 23:08:49 +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.
23 lines
618 B
HTML
23 lines
618 B
HTML
{{ with (templates.Defer (dict "key" "global")) }}
|
|
{{ with resources.Get "css/style.css" }}
|
|
{{ $opts := dict
|
|
"minify" hugo.IsProduction
|
|
"inlineImports" true
|
|
}}
|
|
{{ with . | css.TailwindCSS $opts }}
|
|
{{ if hugo.IsProduction }}
|
|
{{ with . | fingerprint }}
|
|
<link
|
|
rel="stylesheet"
|
|
href="{{ .RelPermalink }}"
|
|
integrity="{{ .Data.Integrity }}"
|
|
crossorigin="anonymous"
|
|
/>
|
|
{{ end }}
|
|
{{ else }}
|
|
<link rel="stylesheet" href="{{ .RelPermalink }}" />
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ end }}
|