Skip to content

Commit acd28dc

Browse files
committed
Add missing alt attributes for images
Fixes #15
1 parent dbe17f9 commit acd28dc

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

ChangeLog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ Dialog change log
33

44
## ?.?.? / ????-??-??
55

6+
## 1.1.1 / 2022-10-05
7+
8+
* Fixed missing `alt` attributes for images. See #15 - @thekid
9+
610
## 1.1.0 / 2022-10-04
711

812
* Merged PR #14: Show a map and list of all journeys - @thekid

src/main/handlebars/home.handlebars

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
{{#if @last}}
3131
<div class="continue card">
3232
<a title="Seite 2" href="/feed?page=2">
33-
{{#with images.0}}<img src="/image/{{slug}}/thumb-{{.}}.webp">{{/with}}
33+
{{#with images.0}}<img alt="Bild vom {{meta.dateTime}}" src="/image/{{slug}}/thumb-{{.}}.webp">{{/with}}
3434
<div class="next">&#187;</div>
3535
</a>
3636
</div>
@@ -44,7 +44,7 @@
4444
href="/journey/{{slug}}"
4545
{{/if}}
4646
>
47-
{{#with images.0}}<img src="/image/{{slug}}/thumb-{{.}}.webp">{{/with}}
47+
{{#with images.0}}<img alt="Bild vom {{meta.dateTime}}" src="/image/{{slug}}/thumb-{{.}}.webp">{{/with}}
4848
<h3>{{title}}</h3>
4949
</a>
5050
</div>

src/main/handlebars/journeys.handlebars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<div class="card">
2121
<div class="date">{{range is.from is.until format="M Y"}}</div>
2222
<a title="{{title}}" href="/journey/{{slug}}">
23-
{{#with images.0}}<img src="/image/{{slug}}/thumb-{{.}}.webp">{{/with}}
23+
{{#with images.0}}<img alt="Bild vom {{meta.dateTime}}" src="/image/{{slug}}/thumb-{{.}}.webp">{{/with}}
2424
<h3>{{title}}</h3>
2525
</a>
2626
</div>

0 commit comments

Comments
 (0)