Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
17cupsofcoffee committed Jan 16, 2025

Verified

This commit was signed with the committer’s verified signature.
fredden Dan Wallis
1 parent 3e979d5 commit ff33496
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
@@ -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 %}

0 comments on commit ff33496

Please sign in to comment.