{{if .Repo.IsPrivate}}{{svg "octicon-lock" 16}}{{else if .Repo.IsFork}}{{svg "octicon-repo-forked" 16}}{{else if .Repo.IsMirror}}{{svg "octicon-mirror" 16}}{{else}}{{svg "octicon-repo" 16}}{{end}}
- {{if ne .Repo.OwnerID $.ContextUser.ID}}
+ {{if and .Repo.Owner (ne .Repo.OwnerID $.ContextUser.ID)}}
{{.Repo.Owner.Name}}/
{{end}}
{{.Repo.Name}}