X-Git-Url: http://git.subgeniuskitty.com/cmless/.git/blobdiff_plain/73c5dba96df5b81d7e05ec9a75e81306c709883b..fafb94d2d7673e4fade6058310f327beaeec927f:/bin/template.py diff --git a/bin/template.py b/bin/template.py index 5950cdf..b2c16f9 100644 --- a/bin/template.py +++ b/bin/template.py @@ -88,8 +88,8 @@ def site_title(template): def body(template): keyword = add_delimiter("page_content") - body = misc.load_file(config.site_data_prefix + os.environ['REQUEST_URI'] + - config.markup_file_extension) + body = misc.load_file(os.path.join(config.site_data_prefix + + os.environ['REQUEST_URI'] + config.markup_file_extension)) body = misc.strip_page_metadata(body) body = misc.process_markup(body) return template.replace(keyword, body)