fix: add alt to home page images

This commit is contained in:
Xin 2023-08-27 23:45:41 +01:00
parent a1f2859944
commit cc099724a0

View File

@ -112,7 +112,7 @@
<p class="text-gray-500 text-sm leading-6">{{ $subtitle | markdownify }}</p>
</div>
{{- with $image -}}
<img src="{{ . }}" class="absolute max-w-none {{ $imageClass }}" />
<img src="{{ . }}" class="absolute max-w-none {{ $imageClass }}" alt="{{ $title }}" />
{{- end -}}
</div>
{{- end -}}