Added an option to specify the default page when a directory is the
[cmless] / bin / config.py
index 5ee585f..83d9d32 100644 (file)
@@ -16,6 +16,12 @@ site_name = "Site Name"
 # the CMless code.
 site_data_prefix = "../site/data"
 
 # 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"
 # The prefix to the website template relative to the bin/ folder which contains
 # the CMless code.
 site_template_prefix = "../site/template"