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"}} {{ if .Get "href"}}
<a href='{{.Get "href"}}'> <a href='{{.Get "href"}}'>
{{end}} {{end}}
@ -6,9 +6,6 @@
src='{{.Get "src"}}' src='{{.Get "src"}}'
{{if .Get "alt"}} {{if .Get "alt"}}
alt='{{.Get "alt"}}' alt='{{.Get "alt"}}'
{{end}}
{{if .Get "float"}}
style='float:{{.Get "float"}}'
{{end}}> {{end}}>
{{ if .Get "href"}} {{ if .Get "href"}}
</a> </a>