Show vidoes inline in directory view
[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 = 'sys/favicon16x16.png'
9
10 # set to None for read-only sites, or
11 # leave empty ('') to allow anonymous edits
12 # otherwise, set to a URL that requires authentication
13 privileged_url = 'https://www.codewiz.org/wikiedit'
14 #privileged_url = ''
15 #privileged_url = None
16
17 data_dir = 'data'
18
19 # default page links
20 meta_urls = [
21     # http-equiv         content
22     [ 'X-XRDS-Location', '/yadis.xml' ],
23 ]
24 link_urls = [
25     # rel                href
26     [ 'icon',            'sys/favicon.gif' ],
27     [ 'stylesheet',      'sys/geekigeeki.css' ],
28     [ 'openid.server',   'https://id.codewiz.org/bernie' ],
29     [ 'openid.delegate', 'https://id.codewiz.org/bernie' ],
30     [ 'pavatar',         '/wiki/BernieAvatar80x80.png' ],
31 ]
32
33 history_url = '../gitweb/wiki.git'
34
35 post_edit_hook = os.path.join(script_path(), 'post_edit_hook.sh')
36
37 datetime_fmt = '%a, %d %b %Y %H:%M:%S %Z'
38
39 # prefix before nonexistent link (usually '?')
40 nonexist_pfx = ''
41
42 # maximum image width in pixels for thumbnails (set to '' to disable scaling)
43 image_maxwidth = 512
44
45 # Set to True for CGI var dump
46 debug_cgi = False