From 0968dd7a4979c04b976c686f6795831508302712 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 21 Dec 2022 13:46:50 +0100 Subject: [PATCH] fix: fix access to data assets in render hook (#348) --- layouts/_default/_markup/render-codeblock-mermaid.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/_markup/render-codeblock-mermaid.html b/layouts/_default/_markup/render-codeblock-mermaid.html index d17ac6f..af73664 100644 --- a/layouts/_default/_markup/render-codeblock-mermaid.html +++ b/layouts/_default/_markup/render-codeblock-mermaid.html @@ -1,7 +1,7 @@ {{ if not (.Page.Scratch.Get "mermaid") }} - + {{ .Page.Scratch.Set "mermaid" true }} {{ end }}