diff options
author | Saftius | 2022-12-21 22:23:48 +0100 |
---|---|---|
committer | Saftius | 2022-12-21 22:23:48 +0100 |
commit | 564ef0171b643743ae5f044d0524785d40d481e9 (patch) | |
tree | cace42a95403740cb19ee43082dacf9a6cc9beab /layouts/partials/comment-disqusjs.html | |
parent | 16994b52c0e32f1015a06ffb4d4f0a86a4bf0abe (diff) | |
download | hugo-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.html | 2 |
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> {{ 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'); |