X-Git-Url: https://git.llucax.com/software/blitiri.git/blobdiff_plain/1d4cf9ca0492dc1026d5a40cdb3f9bd9916dd073..b757e5a6dd55cc8cc67721a750665f5f2dd7906b:/config.py.sample diff --git a/config.py.sample b/config.py.sample index 1f2c4ea..5a07da7 100644 --- a/config.py.sample +++ b/config.py.sample @@ -20,6 +20,12 @@ comments_path = "/tmp/blog/comments" # default templates. If they're not found, the built-in ones will be used. templates_path = "/tmp/blog/templates" +# Path where the cache is stored (must be writeable by the web server); +# set to None to disable. When enabled, you must take care of cleaning it up +# every once in a while. +#cache_path = "/tmp/blog/cache" +cache_path = None + # URL to the blog, including the name. Can be a full URL or just the path. blog_url = "/blog/blitiri.cgi" @@ -36,4 +42,11 @@ author = "Hartmut Kegan" # Article encoding encoding = "utf8" +# Captcha method to use. At the moment only "title" is supported, but if you +# are keen with Python you can provide your own implementation, see +# blitiri.cgi for details. +captcha_method = "title" + +# How many articles to show in the index +index_articles = 10