render-image.html: Add the figure--image class
Add the `figure--image` class to <figure> elements with <img> contents.
This commit is contained in:
parent
a5e5d04b9f
commit
3597b59fa5
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
{{- if .IsBlock }}
|
||||
<figure id="figure-{{ .Ordinal }}">
|
||||
<figure class="figure--image" id="figure-{{ .Ordinal }}">
|
||||
<img src="{{ .Destination | safeURL }}"
|
||||
{{- with .Text }} alt="{{ . }}"{{ end -}}
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue