diff options
Diffstat (limited to 'layouts/shortcodes/mermaid.html')
-rw-r--r-- | layouts/shortcodes/mermaid.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/shortcodes/mermaid.html b/layouts/shortcodes/mermaid.html index f4479188..89daa54f 100644 --- a/layouts/shortcodes/mermaid.html +++ b/layouts/shortcodes/mermaid.html @@ -1,3 +1,3 @@ -{{- $id := partial "function/id.html" (dict "content" (trim .Inner "\n") "scratch" .Page.Scratch) -}} +{{- $id := dict "content" (trim .Inner "\n") "scratch" .Page.Scratch | partial "function/id.html" -}} <div class="mermaid" id="{{ $id }}"></div> {{- .Page.Scratch.SetInMap "this" "mermaid" true -}} |