Skip to content

Commit

Permalink
Add fixed "alt" to background image
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdesmet committed Nov 18, 2022
1 parent a0b546a commit 39ee711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/card.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="card" data-tags="{% for tag in item.tags %}{{ tag | downcase | strip }}|{% endfor %}">
<a href="{{ item.url | relative_url }}">
{% if item.background %}
<img class="card-img-top" src="{{ background | relative_url }}">
<img class="card-img-top" src="{{ background | relative_url }}" alt="Background image">
{% else %}
<div class="card-img-top bg-secondary"></div>
{% endif %}
Expand Down

0 comments on commit 39ee711

Please sign in to comment.