2023-06-27 18:10:51 -04:00
|
|
|
<div class="image-container" style="display:flex;flex-direction:column; align-items: center;width:100%;justify-content: center;">
|
2023-05-03 20:30:33 -04:00
|
|
|
{{ if .Get "href"}}
|
|
|
|
<a href='{{.Get "href"}}'>
|
|
|
|
{{end}}
|
|
|
|
<img loading="lazy"
|
|
|
|
src='{{.Get "src"}}'
|
|
|
|
{{if .Get "alt"}}
|
|
|
|
alt='{{.Get "alt"}}'
|
|
|
|
{{end}}>
|
|
|
|
{{ if .Get "href"}}
|
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
{{if .Get "caption"}}
|
|
|
|
<p class="caption">
|
|
|
|
{{.Get "caption"}} {{if .Get "source"}}<a href='{{.Get "source"}}'>Source</a>{{end}}
|
|
|
|
|
|
|
|
</p>
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
</div>
|