Use store method impl the music etc shortcode.

This commit is contained in:
elkan1788
2025-01-15 21:42:22 +08:00
parent 088da43913
commit b2e0be5a6a
16 changed files with 70 additions and 32 deletions

View File

@@ -1,3 +1,5 @@
<div class="mermaid" align="{{ .Get "align" | default "center" }}" {{ with .Get "bc" }} style="background: {{ . }}" {{ end }}>
{{ safeHTML .Inner }}
</div>
</div>
{{ .Page.Store.SetInMap "scParams" "mermaid" true }}