fix validator error: <img> tags must have "alt" attribute

This commit is contained in:
Michael Romero 2018-11-12 23:51:42 -08:00
commit 7bced23614

View file

@ -20,7 +20,7 @@
</h3>
{{ end }}
{{ if .Params.image }}
<img src="{{ .Params.image }}" class="img-title" />
<img src="{{ .Params.image }}" alt="{{ .Title }}" class="img-title" />
{{ end }}
</a>