config: Use the proxy theme to set site-specific themes.
[matthijs/projects/wipi.git] / conf / deadfoxjunction.py
index 145db8eb752e941a15d74916ab208471d2caa6ba..e91d028fae67db0314bde6e18fe72172af1c5a99 100644 (file)
@@ -24,7 +24,11 @@ class Config(FarmConfig):
     editor_force = True
     editor_default = 'text'  # internal default, just for completeness
 
-    theme_default = 'deadfoxjunction'
+    # Use a site-theme for /Site/ and a normal wiki theme for the rest.
+    proxy_theme_mapping = [
+        ('/Site/', 'deadfoxjunction'),
+        ('', 'modernized'),
+    ]
      
     # Set cookies on /, so they work on /wipi and /Site alike.
     cookie_path = '/'