1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-13 21:18:21 +00:00

feat(repo): support search repository by topic name (#4505)

* feat(repo): support search repository by topic name
This commit is contained in:
Bo-Yi Wu
2018-09-13 10:33:48 +08:00
committed by GitHub
parent 7dd93b2441
commit ea20adaa84
17 changed files with 134 additions and 26 deletions

View File

@@ -20,7 +20,7 @@
{{if .Topics }}
<div>
{{range .Topics}}
{{if ne . "" }}<div class="ui green basic label topic">{{.}}</div>{{end}}
{{if ne . "" }}<a href="/explore/repos?q={{.}}&topic=1"><div class="ui green basic label topic">{{.}}</div></a>{{end}}
{{end}}
</div>
{{end}}