X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=geekigeeki.conf.py;h=31cf0469820519fafd5b568e082e9c7767fd7ec0;hb=152bbe08d73f7ffa9b8fa9f5a841ac643f3d75a5;hp=fcae5ac1191658373feb760f5ad19522bbd5a71e;hpb=8603419a18f6bee65d7d9bb36dacdac278b2792b;p=geekigeeki.git diff --git a/geekigeeki.conf.py b/geekigeeki.conf.py index fcae5ac..31cf046 100644 --- a/geekigeeki.conf.py +++ b/geekigeeki.conf.py @@ -3,17 +3,37 @@ site_name = 'Codewiz' # 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 = '/home/bernie/public_html/wiki' -text_dir = path.join(data_dir, 'text') -css_url = '../wikidata/geekigeeki.css' # optional stylesheet link +data_dir = '/home/bernie/public_html/wiki/data' + +# default page links +link_urls = [ + # rel href type + [ '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' ], +] 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