fix: integrity hash of mermaid library

pull/49416/head
Sayak Mukhopadhyay 2025-01-14 01:46:48 +05:30
parent ed1cc81a39
commit 214eda5088
No known key found for this signature in database
GPG Key ID: 89EEFF3FB23D3FFD
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@
{{ if .HasShortcode "mermaid" }}
<!-- Copied from https://unpkg.com/mermaid@10.6.1/dist/mermaid.min.js -->
{{- with resources.Get "js/mermaid-10.6.1.min.js" -}}
<script src="{{ .RelPermalink }}" integrity="sha384-+NGfjU8KzpDLXRHduEqW+ZiJr2rIg+cidUVk7B51R5xK7cHwMKQfrdFwGdrq1Bcz"></script>
<script src="{{ .RelPermalink }}" integrity="sha384-toDgDinNQVuBBJdT9Q9AnvM4szGg0g7BSEy/yLPRkkQylpeePcz8Mx/JLOFf33o+"></script>
{{- else -}}
<!-- without Mermaid, the site won't appear right -->
{{- errorf "No Mermaid helper script found" -}}