fix: integrity hash of mermaid library
parent
ed1cc81a39
commit
214eda5088
|
@ -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" -}}
|
||||
|
|
Loading…
Reference in New Issue