summaryrefslogtreecommitdiffstats
path: root/layouts/partials/comment-disqusjs.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/comment-disqusjs.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/comment-disqusjs.html')
-rw-r--r--layouts/partials/comment-disqusjs.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/comment-disqusjs.html b/layouts/partials/comment-disqusjs.html
index 18d1d82..af5bd3d 100644
--- a/layouts/partials/comment-disqusjs.html
+++ b/layouts/partials/comment-disqusjs.html
@@ -3,7 +3,7 @@
<i class="iconfont icon-chatbox-ellipses-sharp"></i>&nbsp;{{ i18n "postComment" }}
</span>
<div id="disqus_thread" style="display: none;"></div>
- <script src="https://cdn.jsdelivr.net/npm/disqusjs@1.3.0/dist/disqus.js"></script>
+ <script src="https://cdn.jsdelivr.net/npm/disqusjs@1.3.0/dist/disqus.js" integrity="sha512-j5DrA9cH4ZMlbjZYukrp7SmVHevVXxIDueolM1HqajB1sZVjC9HhpOpQLIVthQEmoRk08nq5jWWQV07hJZuWDw==" crossorigin="anonymous"></script>
<script>
function loadComment() {
document.querySelector('#disqus_thread').removeAttribute('style');