diff --git a/layouts/shortcodes/mermaid.html b/layouts/shortcodes/mermaid.html index 1f3f18f..9a9436f 100644 --- a/layouts/shortcodes/mermaid.html +++ b/layouts/shortcodes/mermaid.html @@ -1,6 +1,11 @@ {{ if not (.Page.Scratch.Get "mermaid") }} + {{ .Page.Scratch.Set "mermaid" true }} {{ end }}