mirror of https://github.com/docker/docs.git
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" />
|