Updated README.
[cmless] / bin / config.py
index 3c196a1..83d9d32 100644 (file)
@@ -1,13 +1,36 @@
 # (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
 #####
 
 # The prefix to the website content relative to the bin/ folder which contains
 # the CMless code.
 #####
 # CMless Configuration Options
 #####
 
 # The prefix to the website content relative to the bin/ folder which contains
 # the CMless code.
-site_path_prefix = "../site"
+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
 
 # 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