Fix edit link in empty pages.
[geekigeeki.git] / geekigeeki.conf.py
1 # Configuration values
2
3 # this is displayed in the page title
4 site_name = 'Codewiz'
5
6 # this is used for the leftmost button of the navbar.
7 # It can be set to an empty string or a text message
8 site_icon = 'AmigaBoing16x16.png'
9
10 # set to None for read-only sites, leave empty ('') to allow anonymous edits
11 # otherwise, set to a URL that requires authentication
12 privileged_url = 'https://www.develer.com/~bernie/wiki'
13
14 data_dir = '/home/bernie/public_html/wiki/data'
15
16 # default page links
17 meta_urls = [
18     # http-equiv         content 
19     [ 'X-XRDS-Location', 'http://www.codewiz.org/yadis.xml' ],
20 ]
21 link_urls = [
22     # rel                href
23     [ 'icon',            'sys/favicon.png' ],
24     [ 'stylesheet',      'sys/geekigeeki.css' ],
25     [ 'openid.server',   'https://www.develer.com/openid/bernie' ],
26     [ 'openid.delegate', 'https://www.develer.com/openid/bernie' ],
27     [ 'pavatar',         'http://www.codewiz.org/wiki/BernieAvatar80x80.png' ],
28 ]
29
30 history_url = '../wikigit/wiki.git'
31
32 post_edit_hook = './post_edit_hook.sh'
33
34 datetime_fmt = '%a %d %b %Y %I:%M %p'
35
36 # Is it possible to edit pages?
37 allow_edit = True
38
39 # show hostnames?
40 show_hosts = True
41
42 # prefix before nonexistent link (usually '?')
43 nonexist_pfx = ''
44
45 # maximum image width in pixels
46 image_maxwidth = 400
47
48 # Set to True for CGI var dump
49 debug_cgi = False