mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-07 13:12:31 -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 }}
|