config: Use the proxy theme to set site-specific themes.
[matthijs/projects/wipi.git] / conf / exodus.py
index aad10e22f5a121fbf442ebab587d0c33348bffb1..5e144dbbd45a641db9641eaa76da64e4466f8284 100644 (file)
@@ -14,7 +14,7 @@ class Config(FarmConfig):
     interwikiname = 'Exodus'
 
     # name of entry page
-    page_front_page = u"Home"
+    page_front_page = u"Site"
 
     data_dir = data_dir_root + '/exodus/'
 
@@ -23,7 +23,11 @@ class Config(FarmConfig):
     editor_force = True
     editor_default = 'text'  # internal default, just for completeness
 
-    theme_default = 'exodus'
+    # Use a site-theme for /Site/ and a normal wiki theme for the rest.
+    proxy_theme_mapping = [
+        ('/Site/', 'exodus'),
+        ('', 'modernized'),
+    ]
      
     # Set cookies on /, so they work on /wipi and /Site alike.
     cookie_path = '/'