mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-29 06:23:10 +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 }}
|