We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c14870c commit f6828e0Copy full SHA for f6828e0
templates/explore/repo_list.tmpl
@@ -17,9 +17,13 @@
17
</div>
18
19
{{if .DescriptionHTML}}<p class="has-emoji">{{.DescriptionHTML}}</p>{{end}}
20
- <div>
21
- {{range .Topics}}<div class="ui green basic label topic">{{.}}</div>{{end}}
22
- </div>
+ {{if .Topics }}
+ <div>
+ {{range .Topics}}
23
+ {{if ne . "" }}<div class="ui green basic label topic">{{.}}</div>{{end}}
24
+ {{end}}
25
+ </div>
26
27
<p class="time">{{$.i18n.Tr "org.repo_updated"}} {{TimeSinceUnix .UpdatedUnix $.i18n.Lang}}</p>
28
29
{{else}}
0 commit comments