diff --git a/src/server/server.go b/src/server/server.go index 224c46e..c096902 100644 --- a/src/server/server.go +++ b/src/server/server.go @@ -189,6 +189,7 @@ type PageData struct { Title string Version string Expirations []int + Expiration int Languages []string Err error URL string @@ -426,6 +427,7 @@ func (s *Server) Start() error { p := PageData{ Title: s.config.Title, Expirations: s.config.Expirations, + Expiration: s.config.Expiration, Languages: s.config.Languages, } diff --git a/src/server/templates/index.html b/src/server/templates/index.html index 42faef1..4791df7 100644 --- a/src/server/templates/index.html +++ b/src/server/templates/index.html @@ -36,7 +36,7 @@