Skip to content

Commit

Permalink
Write in a alternative logo-title if name is not given
Browse files Browse the repository at this point in the history
  • Loading branch information
MyZeD committed Oct 8, 2024
1 parent 54305aa commit 3f53d72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/sponsors.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ <h3 class="sponsors__amount">${{ tier.amount }} / month</h3>
src="/assets/donor_logos/{{ donor.logo }}"
{% if donor.name %}
alt="{{ donor.name }} logo"
{% else %}
alt="{{ donor.logo | split(pat=".") | first }} logo"
{% endif %}
/>
</a>
Expand Down

0 comments on commit 3f53d72

Please sign in to comment.