mirror of
https://github.com/docker/docs.git
synced 2026-03-28 23:08:49 +07:00
11 lines
345 B
HTML
11 lines
345 B
HTML
{{ $styles := resources.Get "css/styles.css" }}
|
|
{{ $styles = $styles | resources.PostCSS }}
|
|
{{ if hugo.IsProduction }}
|
|
{{ $styles = $styles | minify | fingerprint | resources.PostProcess }}
|
|
<style>
|
|
/* hide img injected by prod scripts */
|
|
body > img { display: none }
|
|
</style>
|
|
{{ end }}
|
|
<link href="{{ $styles.Permalink }}" rel="stylesheet" />
|