X-Git-Url: https://codewiz.org/gitweb?p=geekigeeki.git;a=blobdiff_plain;f=geekigeeki.conf.py;h=773f5373480631231681363e987887a191b40e30;hp=1080e49c9cc02c2cb6ceb6e859729a5c1f6d8dd5;hb=99fb949cf7923eaab08664706287c120b1a93d79;hpb=a8cdeeed7e87a195c5e9e0b1e2b74e6b04da1109 diff --git a/geekigeeki.conf.py b/geekigeeki.conf.py index 1080e49..773f537 100644 --- a/geekigeeki.conf.py +++ b/geekigeeki.conf.py @@ -1,21 +1,37 @@ # 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.develer.com/~bernie/wiki' -data_dir = '/home/bernie/public_html/wiki/data' +data_dir = 'data' # default page links -icon_url = 'hacker-favicon.ico' -css_url = ['../wikidata/geekigeeki.css'] +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' +datetime_fmt = '%a, %d %b %Y %H:%M:%S %Z' # Is it possible to edit pages? allow_edit = True @@ -27,7 +43,7 @@ show_hosts = True nonexist_pfx = '' # maximum image width in pixels -image_maxwidth = 800 +image_maxwidth = 400 # Set to True for CGI var dump debug_cgi = False