forked from forgejo/forgejo
frontend refactor
This commit is contained in:
parent
429258cff3
commit
50f6aebb03
18 changed files with 714 additions and 629 deletions
|
@ -645,6 +645,7 @@ func Contexter() func(next http.Handler) http.Handler {
|
|||
"CurrentURL": setting.AppSubURL + req.URL.RequestURI(),
|
||||
"PageStartTime": startTime,
|
||||
"Link": link,
|
||||
"IsProd": setting.IsProd(),
|
||||
},
|
||||
}
|
||||
// PageData is passed by reference, and it will be rendered to `window.config.PageData` in `head.tmpl` for JavaScript modules
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue