Skip to content

Commit fe706ba

Browse files
authored
improve: Update alt attributes for images on the front page (#43088)
* improve: Update alt attributes for images on the front page * case studies image alt attribute * Update case-studies.html
1 parent a0a4f55 commit fe706ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/shortcodes/blocks/feature.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{{ if $imageName }}{{- template "shortcodes-blocks_getimage" (dict "name" $imageName "ctx" . "target" "feature-image") -}}{{ end }}
99
{{- $image := $.Scratch.Get "feature-image" -}}
1010
<div class="main-section">
11-
{{ with $image }}<div class="image-wrapper"><img src="{{ .RelPermalink }}" alt="{{ .Title }}"></div>{{ end }}
11+
{{ with $image }}<div class="image-wrapper"><img src="{{ .RelPermalink }}" alt=""></div>{{ end }}
1212
<div class="content">
1313
{{ $.Inner }}
1414
</div>

0 commit comments

Comments
 (0)