1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
|
py = {}
###############
# Start Below #
###############
# If your PyBlosxom installation is in a funky place, uncomment
# this next line and point it to your PyBlosxom installation
# directory.
#py["codebase"] = "/path/to/pyblosxom/installation"
# What's this blog's title?
py['blog_title'] = "Another pyblosxom blog"
# What's this blog's description (for outgoing RSS feed)?
py['blog_description'] = "blosxom with a touch of python"
# What's this blog's author name?
py['blog_author'] = "name"
# What's the blog author's email address?
py["blog_email"] = "email@blah.com"
# What's this blog's primary language (for outgoing RSS feed)?
py['blog_language'] = "en"
# Encoding for output. Default is iso-8859-1.
py['blog_encoding'] = "iso-8859-1"
# Where are this blog's entries kept?
py['datadir'] = "/var/www/pyblosxom/"
# Where should PyBlosxom log files be kept?
# py['logdir'] = "/path/to/logdir"
# List of strings with directories that should be ignored (e.g. "CVS")
# ex: py['ignore_directories'] = ["CVS", "temp"]
py['ignore_directories'] = []
# Should I stick only to the datadir for items or travel down the directory
# hierarchy looking for items? If so, to what depth?
# 0 = infinite depth (aka grab everything), 1 = datadir only, n = n levels down
py['depth'] = 0
# How many entries should I show on the home page?
py['num_entries'] = 40
# What should the default flavour you want used be?
py['default_flavour'] = "html"
###########################
# Optional Configurations #
###########################
# What should this blog use as its base url?
# py['base_url'] = "http://www.some.host/weblog"
# Default parser/preformatter. Defaults to plain (does nothing)
#py['parser'] = 'plain'
# Using Caching? Caching speeds up rendering the page that is going to be
# shown. Even if you are not using pyblosxom special features, caching can
# improve rendering speed of certain flavours that can show a large number of
# files at one time. Choose a cache mechanism you'd like, see the
# Pyblosxom/cache/ directory, and read the source on how to enable caching with
# the particular cache driver, you need to set two variables:
#py['cacheDriver'] = 'xxxx'
#py['cacheConfig'] = ''
# Plugin directories:
# You can now specify where you plugins all lives, there are two types
# of plugindirectories, the standard pyblosxom plugins, and the xmlrpc
# plugins. You can list out as many directories you want, but they
# should only contain the related plugins.
# Example: py['plugin_dirs'] = ['/opt', '/usr/bin']
#py['plugin_dirs'] = ['/path/to/my/plugins']
# There are two ways for PyBlosxom to load plugins. The first is the
# default way which involves loading all the plugins in the lib/plugins
# directory in alphanumeric order. The second is by specifying a
# "load_plugins" key here. Doing so will cause us to load only the
# plugins you name and we will load them in the order you name them.
# The "load_plugins" key is a list of strings where each string is
# the name of a plugin module (i.e. the filename without the .py at
# the end).
# ex: py['load_plugins'] = ["pycalendar", "pyfortune", "pyarchives"]
#py['load_plugins'] = []
# Doing static rendering? Static rendering essentially "compiles" your
# blog into a series of static html pages. For more details, read:
# http://wiki.subtlehints.net/moin/PyBlosxom_2fStaticRendering
#
# What directory do you want your static html pages to go into?
#py["static_dir"] = "/path/to/static/dir"
# What flavours shouldt get generated?
#py["static_flavours"] = ["html"]
# What other paths should we statically render?
# This is for additional urls handled by other plugins like the booklist
# and plugin_info plugins. If there are multiple flavours you want
# to capture, specify each:
# ex: py["static_urls"] = ["/booklist.rss", "/booklist.html"]
#py["static_urls"] = ["/path/to/url1", "/path/to/url2"]
# Whether (1) or not (0) you want to create date indexes using month
# names? (ex. /2004/Apr/01) Defaults to 1 (yes).
#py["static_monthnames"] = 1
# Whether (1) or not (0) you want to create date indexes using month
# numbers? (ex. /2004/04/01) Defaults to 0 (no).
#py["static_monthnumbers"] = 0
|