forked from forgejo/forgejo
Wiki: UI for page new
This commit is contained in:
parent
2f28a0310b
commit
2b10fdc4dc
20 changed files with 307 additions and 49 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue