Change simple icons provider and always use latest version

This commit is contained in:
Svilen Markov 2024-12-11 18:47:30 +00:00
parent ef24680baf
commit 804cf9916b

View File

@ -162,7 +162,7 @@ func toSimpleIconIfPrefixed(icon string) (string, bool) {
}
icon = strings.TrimPrefix(icon, "si:")
icon = "https://cdnjs.cloudflare.com/ajax/libs/simple-icons/11.14.0/" + icon + ".svg"
icon = "https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/" + icon + ".svg"
return icon, true
}