diff --git a/views/repo.html b/views/repo.html index 339bd91..52bd455 100644 --- a/views/repo.html +++ b/views/repo.html @@ -30,7 +30,7 @@ ⭐ {{.Stars}} 🍴 {{.Forks}} 👀 {{.Watchers}} ⚖️ No license 🌿 {{.DefaultBranch}}
- + {{ end }} {{ if .Language }} {{range $o := .Language}}{{$o.Name}} {{$o.Percent}}, {{end}} {{end}} {{ if or .CommitsAhead .CommitsBehind }}- This repository is {{if .CommitsBehind}} {{.CommitsBehind}} commits behind {{end}} {{if and .CommitsBehind .CommitsAhead}} and {{end}} - {{if .CommitsAhead}} {{ .CommitsAhead }} commits ahead of {{end}} its - parent. + This repository is {{if .CommitsBehind}} {{.CommitsBehind}} commits behind + {{end}} {{if and .CommitsBehind .CommitsAhead}} and {{end}} {{if + .CommitsAhead}} {{ .CommitsAhead }} commits ahead of {{end}} its parent.
{{end}}