mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-25 17:21:03 +00:00
6 lines
201 B
HTML
6 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 }}
|