mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-02 08:08:46 -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 }}
|