mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
7 lines
201 B
HTML
7 lines
201 B
HTML
|
{{ if .Page.Store.Get "hasMermaid" }}
|
||
|
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
|
||
|
<script>
|
||
|
mermaid.initialize({ startOnLoad: true });
|
||
|
</script>
|
||
|
{{ end }}
|