vmems-website/layouts/shortcodes/featured_image.html

7 lines
195 B
HTML
Raw Normal View History

2023-10-28 08:20:52 +00:00
<figure>
{{ $img_src := .Get "src" }}
{{ $description := .Get "description" }}
<img alt="{{ $description }}" src="{{ $img_src }}" />
<figcaption>{{ $description }}</figcaption>
</figure>