doc: format stars count (#281)

Use the k format for thousands, just like Github itself.
This commit is contained in:
Michael McLoughlin
2022-05-08 15:22:26 -07:00
committed by GitHub
parent 224b6bf249
commit 4ca3d8a29f
3 changed files with 16 additions and 5 deletions

View File

@@ -108,7 +108,7 @@ Popular projects using `avo`:
{{ range .Projects.Top 10 -}}
{{ if lt .Metadata.Stars 100 }}{{break}}{{ end -}}
{{ avatar .Repository.Owner 24 }} [{{ .Repository.Owner }} / **{{ .Repository.Name }}**]({{ .Repository.URL }})
:star: {{ .Metadata.Stars }}
:star: {{ stars .Metadata.Stars }}
> {{ .Metadata.Description }}
{{ end -}}