X-Git-Url: https://codewiz.org/gitweb?p=geekigeeki.git;a=blobdiff_plain;f=geekigeeki.conf.py;h=e2314af366f04057dc27d5c98f4bcccf361afd9f;hp=447572a3cdae34a028a6bcf294510da72aa0e921;hb=ba86d6242b2d2ff713f3db4725adcabbfb9f1cce;hpb=adf0fd62361a085ac014efa4985647864a46f603 diff --git a/geekigeeki.conf.py b/geekigeeki.conf.py index 447572a..e2314af 100644 --- a/geekigeeki.conf.py +++ b/geekigeeki.conf.py @@ -1,42 +1,45 @@ # Configuration values + +# this is displayed in the page title site_name = 'Codewiz' -# set to None for read-only sites, leave empty ('') to allow anonymous edits +# this is used for the leftmost button of the navbar. +# It can be set to an empty string or a text message +site_icon = 'sys/favicon16x16.png' + +# set to None for read-only sites, or +# leave empty ('') to allow anonymous edits # otherwise, set to a URL that requires authentication -privileged_url = 'https://www.develer.com/~bernie/wiki' +privileged_url = 'https://secure.sugarlabs.org/codewiz/wiki' +#privileged_url = '' +#privileged_url = None -data_dir = '/home/bernie/public_html/wiki/data' +data_dir = 'data' # default page links meta_urls = [ - # http-equiv content - [ 'X-XRDS-Location', 'http://www.codewiz.org/yadis.xml' ], + # http-equiv content + [ 'X-XRDS-Location', 'http://codewiz.org/yadis.xml' ], ] link_urls = [ # rel href - [ 'icon', 'hacker-favicon.ico' ], - [ 'stylesheet', '../wikidata/geekigeeki.css' ], - [ 'openid.server', 'http://www.codewiz.org/openid/index.php' ], - [ 'openid.delegate', 'http://www.codewiz.org/openid/index.php' ], - [ 'pavatar', 'http://www.codewiz.org/wiki/BernieAvatar80x80.png' ], + [ 'icon', 'sys/favicon.gif' ], + [ 'stylesheet', 'sys/geekigeeki.css' ], + [ 'openid.server', 'https://id.sugarlabs.org/bernie' ], + [ 'openid.delegate', 'https://id.sugarlabs.org/bernie' ], + [ 'pavatar', 'http://codewiz.org/wiki/BernieAvatar80x80.png' ], ] history_url = '../wikigit/wiki.git' -post_edit_hook = './post_edit_hook.sh' - -datetime_fmt = '%a %d %b %Y %I:%M %p' - -# Is it possible to edit pages? -allow_edit = True +post_edit_hook = os.path.join(script_path(), 'post_edit_hook.sh') -# show hostnames? -show_hosts = True +datetime_fmt = '%a, %d %b %Y %H:%M:%S %Z' # prefix before nonexistent link (usually '?') nonexist_pfx = '' -# maximum image width in pixels +# maximum image width in pixels for thumbnails (set to '' to disable scaling) image_maxwidth = 400 # Set to True for CGI var dump