1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 10:18:38 +00:00

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