{{ define "repo" }} {{ template "head" . }} {{ template "repoheader" . }} {{ template "nav" . }}
{{ $repo := .repo }}
{{ range .commits }}
{{ slice .Hash.String 0 8 }}
{{ .Message }}
{{ .Author.Name }} {{ .Author.Email }}
{{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}
{{ end }}
{{- if .readme }}
{{- .readme -}}
{{- end -}}
clone
        git clone https://{{ .servername }}/{{ .repo }}
      
{{ end }}