Added an option to specify the default page when a directory is the
[cmless] / bin / config.py
# (c) 2017 Aaron Taylor <ataylor at subgeniuskitty dot com>
# See LICENSE file for copyright and license details.
#####
# Site Configuration Options
#####
# Site name. For example, "Microsoft" or "Bob's Hardware".
site_name = "Site Name"
#####
# CMless Configuration Options
#####
# The prefix to the website content relative to the bin/ folder which contains
# the CMless code.
site_data_prefix = "../site/data"
# Default page name. This specifies the filename to serve (if exists) when a
# directory is specified as the REQUEST_URI. If is equivalent to Apache's
# DirectoryIndex configuration option. No file extension is necessary as the
# markup_file_extension configuration option handles that information.
default_page = "index"
# The prefix to the website template relative to the bin/ folder which contains
# the CMless code.
site_template_prefix = "../site/template"
# Document that contains the main page template for the website.
template_file = "template.tpl"
# Specifies a string to mark the start and end of template specific commands.
template_delimiter = "%%"
# Full path to the markup processor which can interpret the data files in
# site_path_prefix and output HTML. It should accept markup data on stdin and
# output HTML on stdout.
markup_processor = "/usr/bin/markdown"
# File extension associated with the markup format used by the data files in
# site_path_prefix.
markup_file_extension = ".md"