mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-18 19:00:24 +00:00
shortcode: unify #277
This commit is contained in:
parent
def91dddec
commit
fa8486fc4d
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
{{- $align := .align | default "center" }}
|
||||
{{- with $context }}
|
||||
<div class="mermaid" align="{{ $align }}">
|
||||
{{- safeHTML $content -}}
|
||||
{{- $content | safeHTML -}}
|
||||
</div>
|
||||
{{- .Page.Store.Set "htmlHasMermaid" true }}
|
||||
{{- end }}
|
Loading…
Reference in a new issue