From be3b6930d950f5ebd3c63d982cd4b0f36e116044 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Thu, 29 Apr 2010 12:59:28 +0200 Subject: [PATCH] deadfoxjunction: Add configuration. --- conf/deadfoxjunction.py | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 conf/deadfoxjunction.py diff --git a/conf/deadfoxjunction.py b/conf/deadfoxjunction.py new file mode 100644 index 0000000..145db8e --- /dev/null +++ b/conf/deadfoxjunction.py @@ -0,0 +1,34 @@ +# -*- coding: iso-8859-1 -*- +# IMPORTANT! This encoding (charset) setting MUST be correct! + +# we import the FarmConfig class for common defaults of our wikis: +from farmconfig import FarmConfig + +from farmconfig import data_dir_root + +# now we subclass that config (inherit from it) and change what's different: +class Config(FarmConfig): + + # basic options + sitename = u'Dead Fox Junction' + interwikiname = 'DeadFoxJunction' + + # name of entry page / front page [Unicode], choose one of those: + + page_front_page = u"Site" + + data_dir = data_dir_root + '/deadfoxjunction/' + + # The GUI WYSISYG editor is not installed with Debian. + # See /usr/share/doc/$(cdbs_curpkg)/README.Debian for more info + editor_force = True + editor_default = 'text' # internal default, just for completeness + + theme_default = 'deadfoxjunction' + + # Set cookies on /, so they work on /wipi and /Site alike. + cookie_path = '/' + + logo_string = 'Dead Fox Junction' % (FarmConfig.url_prefix_static, theme_default) + +# vim: set ts=8 sts=4 sw=4 expandtab: -- 2.30.2