diff --git a/modules/setting/server.go b/modules/setting/server.go index 08eb82fb3..d053fee5e 100644 --- a/modules/setting/server.go +++ b/modules/setting/server.go @@ -81,7 +81,6 @@ var ( StaticCacheTime time.Duration EnableGzip bool LandingPageURL LandingPage - LandingPageCustom string UnixSocketPermission uint32 EnablePprof bool PprofDataPath string @@ -103,7 +102,6 @@ var ( StaticURLPrefix string AbsoluteAssetURL string - HasRobotsTxt bool ManifestData string ) diff --git a/modules/web/middleware/data.go b/modules/web/middleware/data.go index 9497dc02e..08d83f94b 100644 --- a/modules/web/middleware/data.go +++ b/modules/web/middleware/data.go @@ -47,8 +47,6 @@ func GetContextData(c context.Context) ContextData { func CommonTemplateContextData() ContextData { return ContextData{ - "IsLandingPageHome": setting.LandingPageURL == setting.LandingPageHome, - "IsLandingPageExplore": setting.LandingPageURL == setting.LandingPageExplore, "IsLandingPageOrganizations": setting.LandingPageURL == setting.LandingPageOrganizations, "ShowRegistrationButton": setting.Service.ShowRegistrationButton,