projects
/
cmless
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added os.path.join() to a few filesystem related string operations.
[cmless]
/
bin
/
template.py
diff --git
a/bin/template.py
b/bin/template.py
index
5950cdf
..
b2c16f9
100644
(file)
--- a/
bin/template.py
+++ b/
bin/template.py
@@
-88,8
+88,8
@@
def site_title(template):
def body(template):
keyword = add_delimiter("page_content")
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)
body = misc.strip_page_metadata(body)
body = misc.process_markup(body)
return template.replace(keyword, body)