projects
/
geekigeeki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update license notice to AGPLv3
[geekigeeki.git]
/
geekigeeki.conf.py
diff --git
a/geekigeeki.conf.py
b/geekigeeki.conf.py
index 90728b432c36b4d788bbeb9adc002da9839d60da..26e9a30866174962d9ef93d444f4a89d2d8c8b41 100644
(file)
--- a/
geekigeeki.conf.py
+++ b/
geekigeeki.conf.py
@@
-7,9
+7,12
@@
site_name = 'Codewiz'
# It can be set to an empty string or a text message
site_icon = 'sys/favicon16x16.png'
# It can be set to an empty string or a text message
site_icon = 'sys/favicon16x16.png'
-# set to None for read-only sites, leave empty ('') to allow anonymous edits
+# 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'
# otherwise, set to a URL that requires authentication
privileged_url = 'https://www.develer.com/~bernie/wiki'
+#privileged_url = ''
+#privileged_url = None
data_dir = 'data'
data_dir = 'data'
@@
-29,20
+32,14
@@
link_urls = [
history_url = '../wikigit/wiki.git'
history_url = '../wikigit/wiki.git'
-post_edit_hook =
'./post_edit_hook.sh'
+post_edit_hook =
os.path.join(script_path(), '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 = ''
# 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
image_maxwidth = 400
# Set to True for CGI var dump