Skip to content

Commit

Permalink
Hide license badge when GitHub check inconclusive
Browse files Browse the repository at this point in the history
A lot of the cases where 'Other' was showing as the license turned out to be MIT/Apache projects with their files named wrong, which feels misleading.
  • Loading branch information
17cupsofcoffee committed Jan 24, 2025
1 parent 079a044 commit a46351e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/categories/macros.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
{% set description = data.description %}
{% set repository_url = data.html_url %}

{% if data.license %}
{% if data.license and data.license.key != "other" %}
{% set license = data.license.name %}
{% endif %}

Expand Down

0 comments on commit a46351e

Please sign in to comment.