summaryrefslogtreecommitdiffstats
path: root/templates/explore
diff options
context:
space:
mode:
authorEthan Koenig <ethantkoenig@gmail.com>2017-12-04 21:52:53 -0800
committerLunny Xiao <xiaolunwen@gmail.com>2017-12-05 13:52:53 +0800
commit03eb47b2161d18a65ab1eb96397cf7138277e452 (patch)
treeead7aa1c158d0b9d11bf149d22bb48191c15382f /templates/explore
parent2738effddfed688bcf3997423034d7794fb30631 (diff)
downloadgitea-03eb47b2161d18a65ab1eb96397cf7138277e452.tar.gz
gitea-03eb47b2161d18a65ab1eb96397cf7138277e452.zip
Fix repo links (#3093)
Diffstat (limited to 'templates/explore')
-rw-r--r--templates/explore/repo_list.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/explore/repo_list.tmpl b/templates/explore/repo_list.tmpl
index 9686e9dca3..4f264f4831 100644
--- a/templates/explore/repo_list.tmpl
+++ b/templates/explore/repo_list.tmpl
@@ -2,7 +2,7 @@
{{range .Repos}}
<div class="item">
<div class="ui header">
- <a class="name" href="{{AppSubUrl}}/{{if .Owner}}{{.Owner.Name}}{{else if $.Org}}{{$.Org.Name}}{{else}}{{$.Owner.Name}}{{end}}/{{.Name}}">{{if or $.PageIsExplore $.PageIsProfileStarList }}{{if .Owner}}{{.Owner.Name}} / {{end}}{{end}}{{.Name}}</a>
+ <a class="name" href="{{.HTMLURL}}">{{if or $.PageIsExplore $.PageIsProfileStarList }}{{if .Owner}}{{.Owner.Name}} / {{end}}{{end}}{{.Name}}</a>
{{if .IsPrivate}}
<span class="text gold"><i class="octicon octicon-lock"></i></span>
{{else if .IsFork}}