-# -*- coding: iso-8859-1 -*-
-# IMPORTANT! This encoding (charset) setting MUST be correct! If you live in a
-# western country and you don't know that you use utf-8, you probably want to
-# use iso-8859-1 (or some other iso charset). If you use utf-8 (a Unicode
-# encoding) you MUST use: coding: utf-8
-# That setting must match the encoding your editor uses when you modify the
-# settings below. If it does not, special non-ASCII chars will be wrong.
-
-"""
-This is a sample config for a wiki that is part of a wiki farm and uses
-farmconfig for common stuff. Here we define what has to be different from
-the farm's common settings.
-"""
+# -*- coding: utf-8 -*-
+# IMPORTANT! This encoding (charset) setting MUST be correct!
# we import the FarmConfig class for common defaults of our wikis:
from farmconfig import FarmConfig
# now we subclass that config (inherit from it) and change what's different:
class Config(FarmConfig):
- # basic options (you normally need to change these)
+ # basic options
sitename = u'Exodus' # [Unicode]
interwikiname = 'Exodus'
- # name of entry page / front page [Unicode], choose one of those:
-
- page_front_page = u"Home"
-
data_dir = data_dir_root + '/exodus/'
# The GUI WYSISYG editor is not installed with Debian.
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 = '/'
# vim: set ts=8 sts=4 sw=4 expandtab: