X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=geekigeeki.conf.py;h=79421c76fe4b34c73af186163adf7e3a49a28f87;hb=refs%2Fheads%2Fpython3;hp=2b00389fce980aa5decaccd92e1fbd6c18afaa15;hpb=f21a426a573a28806267553a963a5930304e2f01;p=geekigeeki.git diff --git a/geekigeeki.conf.py b/geekigeeki.conf.py index 2b00389..79421c7 100644 --- a/geekigeeki.conf.py +++ b/geekigeeki.conf.py @@ -7,13 +7,37 @@ privileged_url = 'https://www.develer.com/~bernie/wiki' data_dir = '/home/bernie/public_html/wiki/data' -css_url = ['../wikidata/geekigeeki.css'] # optional stylesheet links +# default page links +meta_urls = [ + # http-equiv content + [ 'X-XRDS-Location', 'http://www.codewiz.org/yadis.xml' ], +] +link_urls = [ + # rel href + [ 'icon', 'hacker-favicon.ico' ], + [ 'stylesheet', '../wikidata/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