Remove trailing /> from an img tag

This commit is contained in:
Eryn Wells 2022-10-09 13:27:21 -07:00
parent ebb71c71ba
commit 71ffafcff5

View file

@ -2,7 +2,7 @@
{{ $resized_img := $img.Fit "1280x1280" }}
<figure>
<a href="{{ $img.RelPermalink }}">
<img src="{{ $resized_img.RelPermalink }}" />
<img src="{{ $resized_img.RelPermalink }}">
</a>
{{ if $img.Title }}
<figcaption>{{ $img.Title }}</figcaption>