More alt text fixes

This commit is contained in:
Joshua Goins 2024-02-19 17:24:54 -05:00
parent a26253479a
commit 1e3fdb9ddc

View file

@ -4,5 +4,5 @@
{{ $path := printf "pics/%s" $name}} {{ $path := printf "pics/%s" $name}}
{{ with resources.Get $path }} {{ with resources.Get $path }}
<img class="gallery-img page-pic" width="{{ .Width }}" height="{{ .Height }}" src="{{ .RelPermalink }}"> <img alt="{{ $alt }}" class="gallery-img page-pic" width="{{ .Width }}" height="{{ .Height }}" src="{{ .RelPermalink }}">
{{ end }} {{ end }}