feat: add alt message for archive & related contents images (#411)

This commit is contained in:
zhixuan
2021-12-04 21:05:53 +01:00
committed by GitHub
parent 72a5e956ee
commit 497643b363
3 changed files with 9 additions and 4 deletions
@@ -29,6 +29,7 @@
<img src="{{ $Permalink }}"
width="{{ $Width }}"
height="{{ $Height }}"
alt="{{ .Title }}"
loading="lazy">
{{ else }}
<img src="{{ $image.permalink }}" loading="lazy" alt="Featured image of post {{ .Title }}" />