From 8f64ee74aa1dbefa452c824830956abc405a7787 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Sun, 16 Aug 2020 18:57:38 +0200 Subject: #204, Add mermaid config customization, upgrade mermaidjs --- layouts/shortcodes/mermaid.html | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'layouts/shortcodes') diff --git a/layouts/shortcodes/mermaid.html b/layouts/shortcodes/mermaid.html index 9a9436f..ff90335 100644 --- a/layouts/shortcodes/mermaid.html +++ b/layouts/shortcodes/mermaid.html @@ -1,11 +1,9 @@ {{ if not (.Page.Scratch.Get "mermaid") }} - +{{ with resources.Get "mermaid.json" }} + +{{ end }} {{ .Page.Scratch.Set "mermaid" true }} {{ end }} -- cgit v1.2.3