version 1.0.6, show version in footer

This commit is contained in:
Christoph Haas
2021-04-07 20:07:40 +02:00
parent 5199c8674d
commit 96215c4f0e
3 changed files with 4 additions and 2 deletions

View File

@@ -69,6 +69,7 @@ type StaticData struct {
WebsiteLogo string
CompanyName string
Year int
Version string
}
type Server struct {
@@ -253,6 +254,7 @@ func (s *Server) getStaticData() StaticData {
WebsiteLogo: "/img/header-logo.png",
CompanyName: s.config.Core.CompanyName,
Year: time.Now().Year(),
Version: Version,
}
}

View File

@@ -1,3 +1,3 @@
package server
var Version = "1.0.5"
var Version = "1.0.6"