{{ $url := .Get 0 }} {{ with try (resources.GetRemote $url) }} {{ with .Err }} {{ warnf "Unable to fetch GitHub contributors from %q: %s" $url . }} {{ else with .Value }} {{ $contributors := .Content | transform.Unmarshal }} {{ range $contributors }}
{{.contributions}} commits
{{ end }} {{ end }} {{ end }}