Skip to content

Commit ff33496

Browse files
Hide license badge when GitHub check inconclusive
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.
1 parent 3e979d5 commit ff33496

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/categories/macros.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
{% set description = data.description %}
2929
{% set repository_url = data.html_url %}
3030

31-
{% if data.license %}
31+
{% if data.license and data.license.key != "other" %}
3232
{% set license = data.license.name %}
3333
{% endif %}
3434

0 commit comments

Comments
 (0)