summaryrefslogtreecommitdiffstats
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
authorSaftius2022-12-21 22:23:48 +0100
committerSaftius2022-12-21 22:23:48 +0100
commit564ef0171b643743ae5f044d0524785d40d481e9 (patch)
treecace42a95403740cb19ee43082dacf9a6cc9beab /layouts/partials/head.html
parent16994b52c0e32f1015a06ffb4d4f0a86a4bf0abe (diff)
downloadhugo-theme-fuji-564ef0171b643743ae5f044d0524785d40d481e9.tar.gz
hugo-theme-fuji-564ef0171b643743ae5f044d0524785d40d481e9.tar.bz2
hugo-theme-fuji-564ef0171b643743ae5f044d0524785d40d481e9.zip
Add integrity check to remote resources
* Generated with [SRI Hash Generator](https://www.srihash.org/)
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 3dbe2a9..99e0e98 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -40,10 +40,10 @@
<script async data-ad-client="ca-pub-{{ . }}" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
{{ end}}
{{ if .Params.aplayer }}
-<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/aplayer@1.10.1/dist/APlayer.min.css" />
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/aplayer@1.10.1/dist/APlayer.min.css" integrity="sha512-CIYsJUa3pr1eoXlZFroEI0mq0UIMUqNouNinjpCkSWo3Bx5NRlQ0OuC6DtEB/bDqUWnzXc1gs2X/g52l36N5iw==" crossorigin="anonymous">
{{ end }}
{{ if .Site.Params.useDisqusJS }}
-<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/disqusjs@1.3.0/dist/disqusjs.css" />
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/disqusjs@1.3.0/dist/disqusjs.css" integrity="sha512-ETZaCUD/oKDyXhm065Kgi1WXukzv7EWek8RgqpI/RAniGf8eKo1XVP8tXe7AlGsiPf+m7M2wiq+C6vIGRdP40Q==" crossorigin="anonymous">
{{ end }}
{{ partial "analytic-gtag.html" . }}
{{ partial "analytic-cfga.html" . }}