Use OSI green instead of blue for repo badge
This commit is contained in:
parent
cdb5e9bd3c
commit
55baefa5e0
|
@ -150,7 +150,7 @@ function repoLink(repo) {
|
||||||
let repoURL = new URL(repo);
|
let repoURL = new URL(repo);
|
||||||
let repoHost = path.basename(repoURL.hostname, path.extname(repoURL.hostname))
|
let repoHost = path.basename(repoURL.hostname, path.extname(repoURL.hostname))
|
||||||
if (repoHost.includes(".")) repoHost = path.extname(repoHost).replace(".", "")
|
if (repoHost.includes(".")) repoHost = path.extname(repoHost).replace(".", "")
|
||||||
return `[![Repo](https://img.shields.io/badge/open-source-blue?style=flat-square&logo=${repoHost})](${repo})`
|
return `[![Repo](https://img.shields.io/badge/open-source-3DA639?style=flat-square&logo=${repoHost})](${repo})`
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue