git » blitiri » master » tree

[master] / config.py.sample

#coding: utf8

# This is the sample configuration file for a blitiri blog engine.
# If you omit a variable, the default will be used.
#
# If you prefer, you can set the values directly inside blitiri.cgi and not
# have a configuration file.


# Directory where entries are stored
data_path = "/tmp/blog/data"

# Are comments allowed? (if False, comments_path option is not used)
enable_comments = False

# Directory where comments are stored (must be writeable by the web server)
comments_path = "/tmp/blog/comments"

# Path where templates are stored. Use an empty string for the built-in
# 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"

# Style sheet (CSS) URL. Can be relative or absolute. To use the built-in
# default, set it to blog_url + "/style".
css_url = blog_url + "/style"

# Blog title
title = "I don't like blogs"

# Default author
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"