summaryrefslogtreecommitdiffstats
path: root/templates/explore/repo_list.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/explore/repo_list.tmpl')
-rw-r--r--templates/explore/repo_list.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/explore/repo_list.tmpl b/templates/explore/repo_list.tmpl
index 8c7ba51a54..fec304cc91 100644
--- a/templates/explore/repo_list.tmpl
+++ b/templates/explore/repo_list.tmpl
@@ -21,6 +21,9 @@
{{end}}
{{end}}
<div class="ui right metas">
+ {{if .PrimaryLanguage }}
+ <span class="text grey"><i class="color-icon" style="background-color: {{.PrimaryLanguage.Color}}"></i>{{ .PrimaryLanguage.Language }}</span>
+ {{end}}
<span class="text grey"><i class="octicon octicon-star"></i> {{.NumStars}}</span>
<span class="text grey"><i class="octicon octicon-git-branch"></i> {{.NumForks}}</span>
</div>