diff --git a/cmd/badges/main.go b/cmd/badges/main.go index 1f50792a..739af210 100644 --- a/cmd/badges/main.go +++ b/cmd/badges/main.go @@ -57,6 +57,10 @@ func main() { wage := tryParseInt(strings.TrimSpace(strings.ToLower(r.URL.Query().Get("avg-wage"))), 56286) title, value := calculate(category, wage, res) + if r.URL.Query().Get("lower") != "" { + title = strings.ToLower(title) + } + s := formatCount(float64(value)) textLength := "250"