1
0
Fork 0
forked from forgejo/forgejo

frontend refactor

This commit is contained in:
wxiaoguang 2021-10-14 01:40:37 +08:00
parent 429258cff3
commit 50f6aebb03
18 changed files with 714 additions and 629 deletions

View file

@ -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