Added os.path.join() to a few filesystem related string operations.
[cmless] / bin / config.py
index 6d9e90b..83d9d32 100644 (file)
@@ -1,6 +1,13 @@
 # (c) 2017 Aaron Taylor <ataylor at subgeniuskitty dot com>
 # See LICENSE file for copyright and license details.
 
 # (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
 #####
 #####
 # CMless Configuration Options
 #####
@@ -9,6 +16,12 @@
 # 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"