shortcode update
This commit is contained in:
parent
fe4af0d4c3
commit
0982f4361d
1 changed files with 1 additions and 4 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue