shortcode update

This commit is contained in:
Gabriel 2023-06-27 18:10:51 -04:00
parent fe4af0d4c3
commit 0982f4361d

View file

@ -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>