/
cherryblossom.conf.sample
69 lines (51 loc) · 2.04 KB
/
cherryblossom.conf.sample
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
[/]
### The title of your blog
blog_title="Blog Title"
### A short description of your blog
blog_desc="What this blog is"
### the language of your blog, used for your rss feed. For more information on
### this property, see
### http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes
blog_lang="en"
### The name of the blog author
blog_author="John Doe"
### The email address of the blog author
blog_email="john.doe@example.com"
### The location of your blog entries. May be a relative or absolute path.
datadir="./entries-sample"
### The base url of your blog
base_url="http://localhost:4444/"
### The number of entries to show on the first page of your blog and in your
### rss feeds
num_entries=5
### Directories in which cherry blossom shouldn't look for blog entries
ignore_directories=[".svn"]
### A list of the plugins which cherry blossom should try to load. For example,
### if you wanted to load the comments, rss and keywords plugins, you would use
### plugins=["Comments", "Rss", "Keywords"]
plugins=[]
### The directory in which your plugins live; may be absolute or relative
plugin_dir="./plugins"
### The format you would like the date to be displayed in on your blog
### See http://docs.python.org/lib/module-time.html for documentation of the format
### strings
date_fmt="%b %d, %Y"
### The format you want for your "time" meta keywords
time_fmt="%m-%d-%y %H:%M"
### template_engine is the name of the templating engine you're using
template_engine = "mako"
[mako_settings]
### Tell mako that you are allowed to use the attributes dictionary
### (see http://www.makotemplates.org/docs/runtime.html)
attributes={}
### Tell mako where to find its templates
directories='templates/mako'
### And where to output its compiled modules
module_directory='templates/mako'
### This should be the same as blog_encoding
mako.output_encoding='utf-8'
### This section creates a static directory at base_url/static; to turn this off,
### simply change True to False or comment out that line
[/static]
tools.staticdir.on = True
tools.staticdir.dir = "static"