hugo-stanley/layouts/partials/style.html

7 lines
394 B
HTML
Raw Normal View History

2020-03-03 18:56:59 +01:00
{{- $bootstrapCSS := resources.Get "css/bootstrap.min.css" -}}
{{- $styleCSS := resources.Get "css/style.css" -}}
{{- $finalCSS := slice $bootstrapCSS $styleCSS | resources.Concat "css/style.min.css" -}}
{{- $finalCSS = $finalCSS | resources.Minify | resources.Fingerprint "sha384" -}}
<link rel="stylesheet" href="{{- $finalCSS.RelPermalink -}}" integrity="{{- $finalCSS.Data.Integrity -}}">