config: Use the proxy theme to set site-specific themes.
[matthijs/projects/wipi.git] / conf / exodus.py
index 607d2797451401e52a32c155684eb93c9f2ee72a..5e144dbbd45a641db9641eaa76da64e4466f8284 100644 (file)
@@ -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 = '/'