@@ -31,11 +31,11 @@ type Recent struct {
3131
3232 // HomeData is the home page: totals, the wall of every month, and the projects with the latest commits.
3333 type HomeData struct {
34- Commits, Projects, Languages int
35- Busiest, Quietest string
36- Wall []WallYear
37- Recent []Recent
38- Tags []string
34+ Commits, Projects int
35+ Busiest, Quietest string
36+ Wall []WallYear
37+ Recent []Recent
38+ Tags []string
3939 }
4040
4141 // level is the heat of a commit count, 0 to 6.
@@ -60,18 +60,14 @@ func months(year string, counts map[string]int) []Cell {
6060
6161 func homeData(shown []project.Project, rows []ProjectRow) HomeData {
6262 d := HomeData{Projects: len(shown), Tags: []string{"frontend", "backend", "small", "big", "pre-AI", "post-AI"}}
63- all, langs, first, last := map[string]int{}, map[string]bool{}, "9999", "0000"
63+ all, first, last := map[string]int{}, "9999", "0000"
6464 for _, p := range shown {
6565 d.Commits += p.Commits
6666 for m, n := range p.Months {
6767 all[m] += n
6868 }
69- if len(p.Languages) > 0 {
70- langs[p.Languages[0].Name] = true
71- }
7269 first, last = min(first, p.First[:4]), max(last, p.Last[:4])
7370 }
74- d.Languages = len(langs)
7571 busiest, quiet, quietN := "", "", -1
7672 for y := mustAtoi(first); y <= mustAtoi(last); y++ {
7773 year := strconv.Itoa(y)