mirror of
https://github.com/go-gitea/gitea
synced 2025-07-23 02:38:35 +00:00
Wiki: UI for page new
This commit is contained in:
@@ -29,6 +29,7 @@ const (
|
||||
|
||||
func Home(ctx *middleware.Context) {
|
||||
ctx.Data["Title"] = ctx.Repo.Repository.Name
|
||||
ctx.Data["PageIsViewCode"] = true
|
||||
ctx.Data["RequireHighlightJS"] = true
|
||||
|
||||
branchName := ctx.Repo.BranchName
|
||||
@@ -52,8 +53,6 @@ func Home(ctx *middleware.Context) {
|
||||
treeLink += "/" + treename
|
||||
}
|
||||
|
||||
ctx.Data["IsRepoToolbarSource"] = true
|
||||
|
||||
isViewBranch := ctx.Repo.IsBranch
|
||||
ctx.Data["IsViewBranch"] = isViewBranch
|
||||
|
||||
|
Reference in New Issue
Block a user