{{/* The average of a list of reviews and how many there are. */}} {{ $r := ratings . }}{{ if $r.Count }}

{{ $r.Average }} out of 5 ยท {{ $r.Count }} review{{ if ne $r.Count 1 }}s{{ end }}

{{ end }}