diff --git a/templates/code/searchresults.tmpl b/templates/code/searchresults.tmpl
index 684e2860bf..faac696705 100644
--- a/templates/code/searchresults.tmpl
+++ b/templates/code/searchresults.tmpl
@@ -1,6 +1,6 @@
-
- {{$avatarLink := .RelAvatarLink}}
- {{if $avatarLink}}
-
- {{else if $.IsTemplate}}
- {{svg "octicon-repo-template" 32}}
- {{else if $.IsPrivate}}
- {{svg "octicon-lock" 32}}
- {{else if $.IsMirror}}
- {{svg "octicon-mirror" 32}}
- {{else if $.IsFork}}
- {{svg "octicon-repo-forked" 32}}
- {{else}}
- {{svg "octicon-repo" 32}}
- {{end}}
-
+{{$avatarLink := .RelAvatarLink}}
+{{if $avatarLink}}
+