Added an option to specify the default page when a directory is the
[cmless] / bin / config.py
CommitLineData
5dc44f45
AT
1# (c) 2017 Aaron Taylor <ataylor at subgeniuskitty dot com>
2# See LICENSE file for copyright and license details.
3
0a58f7f1
AT
4#####
5# Site Configuration Options
6#####
7
8# Site name. For example, "Microsoft" or "Bob's Hardware".
9site_name = "Site Name"
10
5dc44f45
AT
11#####
12# CMless Configuration Options
13#####
14
15# The prefix to the website content relative to the bin/ folder which contains
16# the CMless code.
d955cfad
AT
17site_data_prefix = "../site/data"
18
765a8ad0
AT
19# Default page name. This specifies the filename to serve (if exists) when a
20# directory is specified as the REQUEST_URI. If is equivalent to Apache's
21# DirectoryIndex configuration option. No file extension is necessary as the
22# markup_file_extension configuration option handles that information.
23default_page = "index"
24
d955cfad
AT
25# The prefix to the website template relative to the bin/ folder which contains
26# the CMless code.
27site_template_prefix = "../site/template"
28
29# Document that contains the main page template for the website.
30template_file = "template.tpl"
31
32# Specifies a string to mark the start and end of template specific commands.
33template_delimiter = "%%"
5dc44f45
AT
34
35# Full path to the markup processor which can interpret the data files in
36# site_path_prefix and output HTML. It should accept markup data on stdin and
37# output HTML on stdout.
38markup_processor = "/usr/bin/markdown"
39
40# File extension associated with the markup format used by the data files in
41# site_path_prefix.
42markup_file_extension = ".md"