X-Git-Url: https://codewiz.org/gitweb?p=geekigeeki.git;a=blobdiff_plain;f=geekigeeki.conf.py;h=d99dcc36ade99fae66123b1540bb9c2bb886c445;hp=2b00389fce980aa5decaccd92e1fbd6c18afaa15;hb=151df764ca017e25015fab92838fc00af426179f;hpb=f21a426a573a28806267553a963a5930304e2f01 diff --git a/geekigeeki.conf.py b/geekigeeki.conf.py index 2b00389..d99dcc3 100644 --- a/geekigeeki.conf.py +++ b/geekigeeki.conf.py @@ -1,19 +1,46 @@ # 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://codewiz.org/wiki' +#privileged_url = '' +#privileged_url = None + +data_dir = 'data' -data_dir = '/home/bernie/public_html/wiki/data' +# default page links +meta_urls = [ + # http-equiv content + [ 'X-XRDS-Location', '/yadis.xml' ], +] +link_urls = [ + # rel href + [ 'icon', 'sys/favicon.gif' ], + [ 'stylesheet', 'sys/geekigeeki.css' ], + [ 'openid.server', 'https://id.codewiz.org/bernie' ], + [ 'openid.delegate', 'https://id.codewiz.org/bernie' ], + [ 'pavatar', '/wiki/BernieAvatar80x80.png' ], +] -css_url = ['../wikidata/geekigeeki.css'] # optional stylesheet links history_url = '../wikigit/wiki.git' -post_edit_hook = './post_edit_hook.sh' +post_edit_hook = os.path.join(script_path(), 'post_edit_hook.sh') + +datetime_fmt = '%a, %d %b %Y %H:%M:%S %Z' + +# prefix before nonexistent link (usually '?') +nonexist_pfx = '' + +# maximum image width in pixels for thumbnails (set to '' to disable scaling) +image_maxwidth = 400 -datetime_fmt = '%a %d %b %Y %I:%M %p' -allow_edit = True # Is it possible to edit pages? -show_hosts = True # show hostnames? -nonexist_pfx = '' # prefix before nonexistent link (usually '?') -debug_cgi = False # Set to True for CGI var dump +# Set to True for CGI var dump +debug_cgi = False