Browse Source

Fix repo links (#3093)

Ethan Koenig 2 years ago
parent
commit
03eb47b216
1 changed files with 1 additions and 1 deletions
  1. 1 1
      templates/explore/repo_list.tmpl

+ 1 - 1
templates/explore/repo_list.tmpl

@@ -2,7 +2,7 @@
2 2
 	{{range .Repos}}
3 3
 		<div class="item">
4 4
 			<div class="ui header">
5
-				<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>
5
+				<a class="name" href="{{.HTMLURL}}">{{if or $.PageIsExplore $.PageIsProfileStarList }}{{if .Owner}}{{.Owner.Name}} / {{end}}{{end}}{{.Name}}</a>
6 6
 				{{if .IsPrivate}}
7 7
 					<span class="text gold"><i class="octicon octicon-lock"></i></span>
8 8
 				{{else if .IsFork}}