summaryrefslogtreecommitdiff
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-07-20 20:53:08 +0530
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-07-20 20:53:08 +0530
commit41006c33e1d3fd3c9d943ef39b80e8d934d04f83 (patch)
tree69e66c1e8033892d62731b9a6faa887b1280e279 /layouts/partials/head.html
parent338027b046f7f72a8fe9c52e8ca7adeddf261868 (diff)
assets: add fingerprint, integrity
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 4b03bd0..55042bc 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -14,8 +14,8 @@
<!-- Styles -->
{{ $anoldhope := resources.Get "an-old-hope.min.css" | minify }}
{{ $style := resources.Get "style.css" | minify }}
-{{ $stylesheet := slice $anoldhope $style | resources.Concat "stylesheet.css" | minify }}
-<link href="{{ $stylesheet.Permalink }}" rel="stylesheet">
+{{ $stylesheet := slice $anoldhope $style | resources.Concat "stylesheet.css" | minify | fingerprint }}
+<link href="{{ $stylesheet.Permalink }}" integrity="{{ $stylesheet.Data.Integrity }}" rel="stylesheet">
<link href="{{ "custom.css" | absURL }}" rel="stylesheet">
<!-- Favicons -->
<link rel="apple-touch-icon" href="{{ "apple-touch-icon.png" | absURL }}">