mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-31 08:57:15 +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" }}
|
{{- $align := .align | default "center" }}
|
||||||
{{- with $context }}
|
{{- with $context }}
|
||||||
<div class="mermaid" align="{{ $align }}">
|
<div class="mermaid" align="{{ $align }}">
|
||||||
{{- safeHTML $content -}}
|
{{- $content | safeHTML -}}
|
||||||
</div>
|
</div>
|
||||||
{{- .Page.Store.Set "htmlHasMermaid" true }}
|
{{- .Page.Store.Set "htmlHasMermaid" true }}
|
||||||
{{- end }}
|
{{- end }}
|
Loading…
Add table
Reference in a new issue