diff --git a/src/renderRepoCard.js b/src/renderRepoCard.js index 56fb7cdf8dd34..c3e5a602793a9 100644 --- a/src/renderRepoCard.js +++ b/src/renderRepoCard.js @@ -67,19 +67,23 @@ const renderRepoCard = (repo, options = {}) => { ${langName} - - - ${icons.star} - - ${totalStars} - + ${(stargazers.totalCount > 0) ? ` + + + ${icons.star} + + ${totalStars} + + ` : ''} - - - ${icons.fork} - - ${totalForks} - + ${(totalForks > 0) ? ` + + + ${icons.fork} + + ${totalForks} + + ` : ''} `; };