From f6828e0b66933cfc4b4699037ab80dcf5286d9e4 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Sat, 12 May 2018 21:50:39 -0400 Subject: [PATCH] Fix blank topic on explore repo list (#3956) --- templates/explore/repo_list.tmpl | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/templates/explore/repo_list.tmpl b/templates/explore/repo_list.tmpl index 16507df16a..b8f4490c11 100644 --- a/templates/explore/repo_list.tmpl +++ b/templates/explore/repo_list.tmpl @@ -17,9 +17,13 @@ {{if .DescriptionHTML}}

{{.DescriptionHTML}}

{{end}} -
- {{range .Topics}}
{{.}}
{{end}} -
+ {{if .Topics }} +
+ {{range .Topics}} + {{if ne . "" }}
{{.}}
{{end}} + {{end}} +
+ {{end}}

{{$.i18n.Tr "org.repo_updated"}} {{TimeSinceUnix .UpdatedUnix $.i18n.Lang}}

{{else}}