shortcode update

main
Gabriel 10 months ago
parent fe4af0d4c3
commit 0982f4361d

@ -1,4 +1,4 @@
<div class="image-container" style="display:flex;align-items: center;width:100%;justify-content: center;">
<div class="image-container" style="display:flex;flex-direction:column; align-items: center;width:100%;justify-content: center;">
{{ if .Get "href"}}
<a href='{{.Get "href"}}'>
{{end}}
@ -6,9 +6,6 @@
src='{{.Get "src"}}'
{{if .Get "alt"}}
alt='{{.Get "alt"}}'
{{end}}
{{if .Get "float"}}
style='float:{{.Get "float"}}'
{{end}}>
{{ if .Get "href"}}
</a>

Loading…
Cancel
Save