Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/spookey/slick.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md4
-rw-r--r--layouts/_default/baseof.html2
2 files changed, 4 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2f5f532..9e3e8a7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,7 +9,9 @@ and this project adheres to
## [Unreleased]
--
+### Added
+
+- `integrity` property to script tags.
## [v0.3.9] - 2022-01-29
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 43ee9f6..4225c86 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -40,7 +40,7 @@
{{- end }}
{{- end }}
{{- $script := resources.Get "script.js" | resources.Fingerprint }}
- <script defer src="{{ $script.RelPermalink }}"></script>
+ <script defer src="{{ $script.RelPermalink }}" integrity="{{ $script.Data.Integrity }}"></script>
</head>
<body>
<div class="pure-g">