diff --git a/templates/explore/repo_list.tmpl b/templates/explore/repo_list.tmpl index 35839087433ff..681d72fccb120 100644 --- a/templates/explore/repo_list.tmpl +++ b/templates/explore/repo_list.tmpl @@ -32,10 +32,12 @@ {{end}} {{end}} - {{if .IsFork}} - {{svg "octicon-repo-forked"}} - {{else if .IsMirror}} - {{svg "octicon-mirror"}} + {{if or (.RelAvatarLink ctx) .IsTemplate .IsPrivate}} + {{if .IsFork}} + {{svg "octicon-repo-forked"}} + {{else if .IsMirror}} + {{svg "octicon-mirror"}} + {{end}} {{end}}