Skip to content

Commit e9e56d9

Browse files
committed
Fix missing alt attribute for preview images
1 parent 9c1146b commit e9e56d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/handlebars/feed.handlebars

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@
4545
<a class="images is-preview" href="{{route this}}">
4646
{{#with images.0}}
4747
<div class="image">
48-
<img alt="{{title}}, {{date meta.dateTime format='d.m.Y H:i'}}" {{#unless first}}loading="lazy"{{/unless}} {{&dataset meta}} src="/image/{{slug}}/thumb-{{name}}.webp" width="1024">
48+
<img alt="{{title}}, {{date meta.dateTime format='d.m.Y H:i'}}" {{#unless @first}}loading="lazy"{{/unless}} {{&dataset meta}} src="/image/{{slug}}/thumb-{{name}}.webp" width="1024">
4949
</div>
5050
{{/with}}
5151
<div class="more">
5252
{{#each images}}
5353
{{#unless (equals @index 0)}}
54-
<img style="z-index: -{{@index}}" src="/image/{{slug}}/thumb-{{name}}.webp" width="192">
54+
<img alt="{{title}}, {{date meta.dateTime format='d.m.Y H:i'}}" {{#unless ../@first}}loading="lazy"{{/unless}} style="z-index: -{{@index}}" src="/image/{{slug}}/thumb-{{name}}.webp" width="192">
5555
{{/unless}}
5656
{{/each}}
5757
</div>

0 commit comments

Comments
 (0)