use image alt wherever possible

This commit is contained in:
Gabriele Musco 2022-10-24 08:16:12 +02:00
parent bcff415581
commit 3706ace5e8
No known key found for this signature in database
GPG key ID: 1068D795C80E51DE
4 changed files with 9 additions and 7 deletions

View file

@ -19,7 +19,8 @@
"summary" (or .Params.description .Summary)
"text" (lower .Plain)
"link" .Permalink
"image" $image) }}
"image" $image
"imageAlt" (or .Params.Alt "")) }}
{{ end }}
"pages": {{ $mscratch.Get "articles" | jsonify }}
}