Skip to content

Commit

Permalink
Write in a alternative logo-title if name is not given (#1644)
Browse files Browse the repository at this point in the history
Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
  • Loading branch information
MyZeD and alice-i-cecile authored Oct 20, 2024
1 parent 8a526e7 commit 68a2af5
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 68a2af5

Please sign in to comment.