diff options
Diffstat (limited to 'www/layouts/partials/css-res.html')
-rw-r--r-- | www/layouts/partials/css-res.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/www/layouts/partials/css-res.html b/www/layouts/partials/css-res.html new file mode 100644 index 0000000..6fabf67 --- /dev/null +++ b/www/layouts/partials/css-res.html @@ -0,0 +1,9 @@ +{{ with . | minify }} + {{ if hugo.IsProduction }} + {{ with . | fingerprint }} + <link href="{{ .RelPermalink }}" rel="stylesheet" integrity="{{ .Data.Integrity }}"> + {{ end }} + {{ else }} + <link href="{{ .RelPermalink }}" rel="stylesheet"> + {{ end }} +{{ end }} |