X-Git-Url: https://codewiz.org/gitweb?p=geekigeeki.git;a=blobdiff_plain;f=geekigeeki.conf.py;h=d99dcc36ade99fae66123b1540bb9c2bb886c445;hp=773f5373480631231681363e987887a191b40e30;hb=151df764ca017e25015fab92838fc00af426179f;hpb=99fb949cf7923eaab08664706287c120b1a93d79 diff --git a/geekigeeki.conf.py b/geekigeeki.conf.py index 773f537..d99dcc3 100644 --- a/geekigeeki.conf.py +++ b/geekigeeki.conf.py @@ -7,42 +7,39 @@ site_name = 'Codewiz' # 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 +# 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' # default page links meta_urls = [ # http-equiv content - [ 'X-XRDS-Location', 'http://www.codewiz.org/yadis.xml' ], + [ 'X-XRDS-Location', '/yadis.xml' ], ] link_urls = [ # rel href - [ 'icon', 'sys/favicon.png' ], + [ 'icon', 'sys/favicon.gif' ], [ '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' ], + [ 'openid.server', 'https://id.codewiz.org/bernie' ], + [ 'openid.delegate', 'https://id.codewiz.org/bernie' ], + [ 'pavatar', '/wiki/BernieAvatar80x80.png' ], ] 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' -# 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 +# maximum image width in pixels for thumbnails (set to '' to disable scaling) image_maxwidth = 400 # Set to True for CGI var dump