summaryrefslogtreecommitdiffstats
path: root/modules/setting/setting.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/setting/setting.go')
-rw-r--r--modules/setting/setting.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index df80ebdb57..6fe0214a8b 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -56,8 +56,9 @@ type LandingPage string
// enumerates all the landing page types
const (
- LandingPageHome LandingPage = "/"
- LandingPageExplore LandingPage = "/explore"
+ LandingPageHome LandingPage = "/"
+ LandingPageExplore LandingPage = "/explore"
+ LandingPageOrganizations LandingPage = "/explore/organizations"
)
// MarkupParser defines the external parser configured in ini
@@ -737,6 +738,8 @@ func NewContext() {
switch sec.Key("LANDING_PAGE").MustString("home") {
case "explore":
LandingPageURL = LandingPageExplore
+ case "organizations":
+ LandingPageURL = LandingPageOrganizations
default:
LandingPageURL = LandingPageHome
}