mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-18 10:50:24 +00:00
upgrade mermaid to 8.10.2 and relocate #7
This commit is contained in:
parent
c450aa48e7
commit
8a53387a81
3 changed files with 33 additions and 33 deletions
|
@ -70,7 +70,7 @@
|
|||
{{ else if isset .Site.Params "custommermaidurl" }}
|
||||
<script src="{{ .Site.Params.customMermaidURL }}"></script>
|
||||
{{ else }}
|
||||
<script src="{{"mermaid/mermaid.js" | relURL}}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}"></script>
|
||||
<script src="{{"js/mermaid.min.js" | relURL}}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}"></script>
|
||||
{{ end }}
|
||||
{{ if isset .Params "mermaidinitialize" }}
|
||||
{{ $.Scratch.Set "mermaidInitialize" .Params.mermaidInitialize }}
|
||||
|
|
32
static/js/mermaid.min.js
vendored
Normal file
32
static/js/mermaid.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue