From ff33496d5a1c9b081fd6c99a87a68f47f2cd9543 Mon Sep 17 00:00:00 2001 From: Joe Clay <27cupsofcoffee@gmail.com> Date: Thu, 16 Jan 2025 22:21:18 +0000 Subject: [PATCH] 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. --- templates/categories/macros.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/categories/macros.html b/templates/categories/macros.html index 18b94509..cb6ca57f 100644 --- a/templates/categories/macros.html +++ b/templates/categories/macros.html @@ -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 %}