Skip to content

Commit

Permalink
Add alt text to logocards
Browse files Browse the repository at this point in the history
  • Loading branch information
Prepultrue committed Oct 22, 2021
1 parent b0010d5 commit 9338793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/shortcodes/logocard.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{{ $docs_url := .Get "docs" }}
<div class="col logo">
<div class="card-img-top">
<img class="logo" src="{{ $image.RelPermalink }}" height="{{ $image.Height }}">
<img class="logo" src="{{ $image.RelPermalink }}" height="{{ $image.Height }}"{{ with .Get "alt" }} alt="{{ . }}"{{ end }}>
</div>
{{ if or $xnat_url $docs_url }}
<div class="mb-2">
Expand Down

0 comments on commit 9338793

Please sign in to comment.