clarify image_maxwidth in config
[geekigeeki.git] / geekigeeki.conf.py
index 649d7f5b5470f07a16fd279b9793509ca22804d6..ab0e4309f2a7c59f527605db20b481c496264912 100644 (file)
@@ -1,21 +1,30 @@
 # Configuration values
+
+# this is displayed in the page title
 site_name = 'Codewiz'
 
-# set to None for read-only sites, leave empty ('') to allow anonymous edits
+# this is used for the leftmost button of the navbar.
+# It can be set to an empty string or a text message
+site_icon = 'sys/favicon16x16.png'
+
+# 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 = ''
+#privileged_url = None
 
-data_dir = '/home/bernie/public_html/wiki/data'
+data_dir = 'data'
 
 # default page links
 meta_urls = [
-    # http-equiv         content 
+    # http-equiv         content
     [ 'X-XRDS-Location', 'http://www.codewiz.org/yadis.xml' ],
 ]
 link_urls = [
     # rel                href
-    [ 'icon',            'favicon.ico' ],
-    [ 'stylesheet',      'geekigeeki.css' ],
+    [ 'icon',            'sys/favicon.png' ],
+    [ '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' ],
@@ -25,19 +34,13 @@ history_url = '../wikigit/wiki.git'
 
 post_edit_hook = './post_edit_hook.sh'
 
-datetime_fmt = '%a %d %b %Y %I:%M %p'
-
-# Is it possible to edit pages?
-allow_edit = True
-
-# show hostnames?
-show_hosts = True
+datetime_fmt = '%a, %d %b %Y %H:%M:%S %Z'
 
 # 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
-debug_cgi = False
+#debug_cgi = True