mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-26 16:46:19 +01:00
4 lines
224 B
HTML
4 lines
224 B
HTML
{{- /* shuffle md5 as id */ -}}
|
|
{{- $id := delimit (split (md5 .Inner) "" | shuffle) "" | printf "mermaid-%s" -}}
|
|
<div class="mermaid" id="{{ $id }}"></div>
|
|
{{- .Page.Scratch.SetInMap "mermaidMap" $id (trim .Inner "\n") -}}
|