diff --git a/templates/explore/repo_list.tmpl b/templates/explore/repo_list.tmpl
index b8f4490c1..4b5135ed0 100644
--- a/templates/explore/repo_list.tmpl
+++ b/templates/explore/repo_list.tmpl
@@ -20,7 +20,7 @@
{{if .Topics }}
{{range .Topics}}
- {{if ne . "" }}
{{.}}
{{end}}
+ {{if ne . "" }}
{{.}}
{{end}}
{{end}}
{{end}}
diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl
index 685351ecb..2ed681ccc 100644
--- a/templates/repo/home.tmpl
+++ b/templates/repo/home.tmpl
@@ -24,8 +24,8 @@
{{end}}
{{if .IsRepositoryAdmin}}