From ed5a3f10e9d3c8ff42e0ecef48302d22d3ae937c Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Wed, 10 Sep 2025 08:38:51 +0200 Subject: [PATCH] mermaid shortcode: replace Scratch with Store --- layouts/_shortcodes/mermaid.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_shortcodes/mermaid.html b/layouts/_shortcodes/mermaid.html index 0745ee6..078d7d3 100644 --- a/layouts/_shortcodes/mermaid.html +++ b/layouts/_shortcodes/mermaid.html @@ -1,10 +1,10 @@ -{{ if not (.Page.Scratch.Get "mermaid") }} +{{ if not (.Page.Store.Get "mermaid") }} {{ with resources.Get "mermaid.json" }} {{ end }} -{{ .Page.Scratch.Set "mermaid" true }} +{{ .Page.Store.Set "mermaid" true }} {{ end }}