summaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
authorSagePtr <sageptr@gmail.com>2018-10-06 01:41:09 +0200
committertechknowlogick <hello@techknowlogick.com>2018-10-05 19:41:09 -0400
commit378af8ea889066e12defcd7f291ac2b6ab7e2abb (patch)
treeb9a82ce43f6695a4f97e564e1f070c6d79c99e1f /templates/repo
parentc6daee6da6a095bd68e2f4e418e5abe0f4c5e3c2 (diff)
downloadgitea-378af8ea889066e12defcd7f291ac2b6ab7e2abb.tar.gz
gitea-378af8ea889066e12defcd7f291ac2b6ab7e2abb.zip
Fix missing AppSubUrl in few more templates (#5021)
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/home.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl
index cc2d65e763..7e11035ed2 100644
--- a/templates/repo/home.tmpl
+++ b/templates/repo/home.tmpl
@@ -34,7 +34,7 @@
<div class="ui fluid multiple search selection dropdown">
<input type="hidden" name="topics" value="{{range $i, $v := .Topics}}{{.Name}}{{if lt (Add $i 1) (len $.Topics)}},{{end}}{{end}}">
{{range .Topics}}
- <a class="ui green basic label topic transition visible" data-value="{{.Name}}" style="display: inline-block !important;" href="/explore/repos?q={{.Name}}&topic=1">{{.Name}}<i class="delete icon"></i></a>
+ <a class="ui green basic label topic transition visible" data-value="{{.Name}}" style="display: inline-block !important;" href="{{AppSubUrl}}/explore/repos?q={{.Name}}&topic=1">{{.Name}}<i class="delete icon"></i></a>
{{end}}
<div class="text"></div>
</div>