mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-05 03:22:32 -05:00
7 lines
214 B
HTML
7 lines
214 B
HTML
{{ if .Page.Store.Get "hasMermaid" }}
|
|
<script type="module" async>
|
|
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@9/+esm';
|
|
|
|
mermaid.initialize({ startOnLoad: true });
|
|
</script>
|
|
{{ end }}
|