mermaid: use partial for codefence formatting

This commit is contained in:
Sören Weber 2022-07-02 14:00:51 +02:00
parent 01e14664ce
commit 341bad1610
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589

View file

@ -1,4 +1,4 @@
<div class="mermaid" align="center"> {{- partial "shortcodes/mermaid.html" (dict
{{- safeHTML .Inner -}} "context" .
</div> "content" .Inner
{{- .Page.Store.Set "htmlHasMermaid" true }} ) }}