Skip to content

Commit

Permalink
improve: Update alt attributes for images on the front page (#43088)
Browse files Browse the repository at this point in the history
* improve: Update alt attributes for images on the front page

* case studies image alt attribute

* Update case-studies.html
  • Loading branch information
MeenuyD committed Oct 9, 2023
1 parent a0a4f55 commit fe706ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/shortcodes/blocks/feature.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{{ if $imageName }}{{- template "shortcodes-blocks_getimage" (dict "name" $imageName "ctx" . "target" "feature-image") -}}{{ end }}
{{- $image := $.Scratch.Get "feature-image" -}}
<div class="main-section">
{{ with $image }}<div class="image-wrapper"><img src="{{ .RelPermalink }}" alt="{{ .Title }}"></div>{{ end }}
{{ with $image }}<div class="image-wrapper"><img src="{{ .RelPermalink }}" alt=""></div>{{ end }}
<div class="content">
{{ $.Inner }}
</div>
Expand Down

0 comments on commit fe706ba

Please sign in to comment.