Skip to content

Commit b870947

Browse files
committed
Adds specific alt text to homepage feature images
1 parent 0860460 commit b870947

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
title : "Andy Slater Receives United States Artist Award"
3-
link : /blog/andy-slater-united-states-artist-award/
2+
title : "Andy Slater Receives United States Artist Award"
3+
image-alt: "Headshot of Andy Slater alongside \"United States Artists\" logo"
4+
link : /blog/andy-slater-united-states-artist-award/
45
feature-position : 2
56
---
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
2-
title : "Dilate Ensemble premiere CATENA at CounterPulse"
3-
link : /blog/dilate-ensemble-presents-catena-counterpulse/
4-
feature-position : 1
5-
details : CATENA is a hybrid in person and remote audio-visual improvization with performers streaming live from multiple locations
2+
title : "Dilate Ensemble premiere CATENA at CounterPulse"
3+
image-alt: "A still from the CATENA performance with a silhouetted human figure, with horizontal blue and white electrical lines"
4+
link : /blog/dilate-ensemble-presents-catena-counterpulse/
5+
details : CATENA is a hybrid in person and remote audio-visual improvization with performers streaming live from multiple locations
6+
feature-position : 1
67
---
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
title : "Ars Electronica: Co-creation Containers"
3-
link : /blog/ars-electronica-co-creation-containers/
2+
title : "Ars Electronica: Co-creation Containers"
3+
image-alt: "A backdrop pattern of 1's and 0's connected by random lines, overlaid by the text \"A New Digital Deal\" in red"
4+
link : /blog/ars-electronica-co-creation-containers/
45
feature-position : 3
56
---

app/_includes/home/feature-item.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<li class="feature-{{ feature.feature-position }}">
22
<a href="{{ feature.link }}">
33
<figure>
4-
<img src="/images/features/{{ feature.path | replace: '_features/', '' | replace: '.md', '' }}.jpg" alt="{{ feature.title | escape }}" />
4+
<img src="/images/features/{{ feature.path | replace: '_features/', '' | replace: '.md', '' }}.jpg" alt="{{ feature.image-alt | escape }}" />
55
</figure>
66
<h2>{{ feature.title | escape }}</h2>
77
{% if feature.feature-position == 1 then %}<p>{{ feature.details }}</p>{% endif %}

0 commit comments

Comments
 (0)