mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 23:38:56 +00:00
6e3f3200e2
Closes #116 Closes #230
4 lines
198 B
HTML
4 lines
198 B
HTML
{{- $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 -}}
|