website/layouts/shortcodes/featured_image.html
Matthieu Bessat 9a3b414e76 feat(geocaching): add initial page for 2023
feat(sliding_gallery): add horizontal scrolling gallery component
2023-09-15 14:59:48 +02:00

6 lines
195 B
HTML

<figure>
{{ $img_src := .Get "src" }}
{{ $description := .Get "description" }}
<img alt="{{ $description }}" src="{{ $img_src }}" />
<figcaption>{{ $description }}</figcaption>
</figure>