fix: stars badge on all projects with a GitHub repo, not just openSource

This commit is contained in:
juanatsap
2026-05-04 14:19:26 +01:00
parent 57db625997
commit 29aa3d1fd7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -333,7 +333,7 @@ func (h *CVHandler) prepareTemplateData(lang string) (map[string]interface{}, er
// Process projects for dynamic dates and fetch GitHub stars
for i := range cv.Projects {
processProjectDates(&cv.Projects[i], lang)
if cv.Projects[i].OpenSource && cv.Projects[i].GitRepoUrl != "" {
if cv.Projects[i].GitRepoUrl != "" {
cv.Projects[i].Stars = getGitHubStars(cv.Projects[i].GitRepoUrl)
}
}