fix: stars badge on all projects with a GitHub repo, not just openSource
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user