fix #1629
This commit is contained in:
		
							parent
							
								
									47df562ced
								
							
						
					
					
						commit
						ed5a61153f
					
				
							
								
								
									
										2
									
								
								gogs.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								gogs.go
									
									
									
									
									
								
							| @ -17,7 +17,7 @@ import ( | |||||||
| 	"github.com/gogits/gogs/modules/setting" | 	"github.com/gogits/gogs/modules/setting" | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
| const APP_VER = "0.6.11.0911 Beta" | const APP_VER = "0.6.11.0912 Beta" | ||||||
| 
 | 
 | ||||||
| func init() { | func init() { | ||||||
| 	runtime.GOMAXPROCS(runtime.NumCPU()) | 	runtime.GOMAXPROCS(runtime.NumCPU()) | ||||||
|  | |||||||
| @ -50,6 +50,7 @@ func Home(ctx *middleware.Context) { | |||||||
| 
 | 
 | ||||||
| func Explore(ctx *middleware.Context) { | func Explore(ctx *middleware.Context) { | ||||||
| 	ctx.Data["Title"] = ctx.Tr("explore") | 	ctx.Data["Title"] = ctx.Tr("explore") | ||||||
|  | 	ctx.Data["PageIsExplore"] = true | ||||||
| 	ctx.Data["PageIsExploreRepositories"] = true | 	ctx.Data["PageIsExploreRepositories"] = true | ||||||
| 
 | 
 | ||||||
| 	page := ctx.QueryInt("page") | 	page := ctx.QueryInt("page") | ||||||
|  | |||||||
| @ -1 +1 @@ | |||||||
| 0.6.11.0911 Beta | 0.6.11.0912 Beta | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user