diff --git a/handlers/handlers.go b/handlers/handlers.go index c3d40b4..1537c7e 100644 --- a/handlers/handlers.go +++ b/handlers/handlers.go @@ -606,16 +606,12 @@ func Logout() echo.HandlerFunc { tpl := getTmpl("logout.tmpl") err := tpl.Execute(c.Response().Writer, - struct { - AppName string - AppVer string - Title string - DevelMode bool - }{ + page{ AppName: conf.AppName, AppVer: appver, Title: "Logout", DevelMode: conf.DevelMode, + Current: "logout", }, ) if err != nil {