{{define "content"}} {{$p := .Data.Page}} {{if $p.Empty}}

This repository is empty. Push something to it:

git remote add origin git@{{.Host}}:{{$p.Repo.Path}}
git push -u origin {{$p.Ref}}
{{else}}
{{range .Data.Commits}}
{{short .Hash}} {{.Subject}}
{{.Author}} pushed to {{$p.Repo.Path}}
{{ago .Time}}
{{end}}
{{with .Data.Readme}}
{{.}}
{{end}} {{with .Data.ReadmeText}}
{{.}}
{{end}} {{if not .Data.ReadmeName}}

No README.

{{end}}
{{end}} {{end}}