Add the .figure class to image figures

This commit is contained in:
Eryn Wells 2024-10-12 09:23:07 -07:00
parent 448c48281c
commit b51aca950c

View file

@ -1,5 +1,5 @@
{{- if .IsBlock }}
<figure class="figure--image" id="figure-{{ .Ordinal }}">
<figure class="figure figure--image" id="figure-{{ .Ordinal }}">
<img src="{{ .Destination | safeURL }}"
{{- with .Text }} alt="{{ . }}"{{ end -}}
>