mirror of
https://github.com/miniflux/v2.git
synced 2025-08-31 18:31:01 +00:00
Show Git commit in about page
This commit is contained in:
parent
a37a2dd043
commit
d70b4d39ab
3 changed files with 4 additions and 1 deletions
|
@ -24,6 +24,7 @@ func (h *handler) showAboutPage(w http.ResponseWriter, r *http.Request) {
|
|||
sess := session.New(h.store, request.SessionID(r))
|
||||
view := view.New(h.tpl, r, sess)
|
||||
view.Set("version", version.Version)
|
||||
view.Set("commit", version.Commit)
|
||||
view.Set("build_date", version.BuildDate)
|
||||
view.Set("menu", "settings")
|
||||
view.Set("user", user)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue