{{define "content" -}} {{template "repohead" .}} {{- if .Issues}}

{{template "icon" "issue"}}{{.Open}} open · {{.Closed}} closed

    {{- range .Issues}}
  1. {{if eq .State "open"}}{{template "icon" "issue"}}{{else}}{{template "icon" "issue-closed"}}{{end}}
    {{.Title}}{{range .Labels}} {{.Name}}{{end}} #{{.Number}} opened {{day .CreatedAt}} by {{.User.Login}}{{with .Comments}} · {{.}} comment{{if ne . 1}}s{{end}}{{end}}
    {{.State}}
    {{if .Body}}{{.Body}}{{else}}

    No description.

    {{end}}
    {{- template "thread" .}}
  2. {{- end}}

Read-only: issues can't be opened or answered here.

{{- else}} {{template "emptystate" (dict "Icon" "issue" "Title" "No issues." "Hint" "This mirror is read-only, so issues can't be opened here.")}} {{- end}} {{- end}}