mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
6 lines
235 B
HTML
6 lines
235 B
HTML
{{- $scratch := .Page.Scratch.Get "scratch" -}}
|
|
|
|
{{- $id := partial "function/id.html" (dict "content" (trim .Inner "\n") "scratch" $scratch) -}}
|
|
<div class="mermaid" id="{{ $id }}"></div>
|
|
{{- slice $id | $scratch.Add "mermaidArr" -}}
|