www.franconian.net/layouts/shortcodes/image.html

5 lines
163 B
HTML
Raw Normal View History

2020-11-23 18:56:53 +01:00
<figure>
<img{{ with .Get "class" }} class="{{ . }}"{{ end }} src="{{ .Get "src" }}" alt="{{ .Get "alt" }}">
2020-11-23 18:56:53 +01:00
<figcaption>{{ .Get "alt" }}</figcaption>
</figure>