aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2017-12-12 08:42:24 +0200
committerGitHub <noreply@github.com>2017-12-12 08:42:24 +0200
commitd63ca6662354d4817d1ff4f2aa80e2afb38e8d94 (patch)
tree56a3eada4f7c2651b97ba9ee8345839adb56d494
parent59afb62ab2cd905ef152069009d7622c40393fb1 (diff)
downloadgitea-d63ca6662354d4817d1ff4f2aa80e2afb38e8d94.tar.gz
gitea-d63ca6662354d4817d1ff4f2aa80e2afb38e8d94.zip
Fix repo links (#3093) (#3163)
-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}}