mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-04-30 18:37:05 +08:00
Remove white space from align
parameter (#63)
Fixes alignment behavior in the short code
This commit is contained in:
parent
bcf37e09c8
commit
388b2b4d92
@ -1 +1 @@
|
||||
<div class="mermaid" align="{{ if .Get " align " }}{{ .Get "align " }}{{ else }}center{{ end }}">{{ safeHTML .Inner }}</div>
|
||||
<div class="mermaid" align="{{ if .Get "align" }}{{ .Get "align" }}{{ else }}center{{ end }}">{{ safeHTML .Inner }}</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user