config: Use the proxy theme to set site-specific themes.
[matthijs/projects/wipi.git] / conf / extinction.py
index 3137da196b37b9c399fa8b19e5b407fe1abbd3f8..9046bcbff78c11e3301c53e6e3df6d7220105e1b 100644 (file)
@@ -23,6 +23,10 @@ class Config(FarmConfig):
     editor_force = True
     editor_default = 'text'  # internal default, just for completeness
 
-    theme_default = 'classic'
+    # Use a site-theme for /Site/ and a normal wiki theme for the rest.
+    proxy_theme_mapping = [
+        ('/Site/', 'extinction'),
+        ('', 'modernized'),
+    ]
 
 # vim: set ts=8 sts=4 sw=4 expandtab: