From: Matthijs Kooijman Date: Thu, 29 Apr 2010 10:59:28 +0000 (+0200) Subject: deadfoxjunction: Add configuration. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=be3b6930d950f5ebd3c63d982cd4b0f36e116044;p=matthijs%2Fprojects%2Fwipi.git deadfoxjunction: Add configuration. --- 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: