mirror of
https://github.com/falsycat/ar.falsy.cat.git
synced 2024-12-27 08:54:51 +00:00
9 lines
274 B
HTML
9 lines
274 B
HTML
{{if $.Site.Data.config.enableMermaid}}
|
|
{{ if .Page.Store.Get "hasMermaid" }}
|
|
<script type="module">
|
|
import mermaid from 'https://unpkg.com/mermaid@9/dist/mermaid.esm.min.mjs';
|
|
mermaid.initialize({ startOnLoad: true });
|
|
</script>
|
|
{{ end }}
|
|
{{ end }}
|