X-Git-Url: https://codewiz.org/gitweb?p=geekigeeki.git;a=blobdiff_plain;f=geekigeeki.conf.py;h=90728b432c36b4d788bbeb9adc002da9839d60da;hp=2c7b9bee86832f643ed094d6dcb80528a795d655;hb=a567b7dd9152a2af29e8048056ce66502a041d76;hpb=1ef0274d5e544e83d31eb4b17d1bb517fdcb1c60 diff --git a/geekigeeki.conf.py b/geekigeeki.conf.py index 2c7b9be..90728b4 100644 --- a/geekigeeki.conf.py +++ b/geekigeeki.conf.py @@ -1,18 +1,49 @@ # Configuration values + +# this is displayed in the page title site_name = 'Codewiz' +# 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, leave empty ('') to allow anonymous edits # otherwise, set to a URL that requires authentication -privileged_url = 'https://www.codewiz.org/~bernie/wiki' +privileged_url = 'https://www.develer.com/~bernie/wiki' + +data_dir = 'data' -data_dir = '/home/bernie/public_html/wiki/data' -css_url = '../wikidata/geekigeeki.css' # optional stylesheet link +# default page links +meta_urls = [ + # http-equiv content + [ 'X-XRDS-Location', 'http://www.codewiz.org/yadis.xml' ], +] +link_urls = [ + # rel href + [ 'icon', 'sys/favicon.png' ], + [ 'stylesheet', 'sys/geekigeeki.css' ], + [ 'openid.server', 'https://www.develer.com/openid/bernie' ], + [ 'openid.delegate', 'https://www.develer.com/openid/bernie' ], + [ 'pavatar', 'http://www.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' -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 + +# Is it possible to edit pages? +allow_edit = True + +# show hostnames? +show_hosts = True + +# prefix before nonexistent link (usually '?') +nonexist_pfx = '' + +# maximum image width in pixels +image_maxwidth = 400 + +# Set to True for CGI var dump +debug_cgi = False