resolve figure size

This commit is contained in:
Tobias Pfandzelter 2020-11-18 18:12:55 +01:00
parent 2563883c1c
commit f2dbf084a7
2 changed files with 4 additions and 2 deletions

View file

@ -4,6 +4,8 @@
<figcaption>{{ .Title }}</figcaption>
</figure>
{{ else }}
<img src="{{ .Destination | safeURL }}" alt="{{ .Text }}" />
<figure>
<img src="{{ .Destination | safeURL }}" alt="{{ .Text }}" />
</figure>
{{ end }}