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 %%site_title%% template keyword.
[cmless]
/
bin
/
cmless.py
diff --git
a/bin/cmless.py
b/bin/cmless.py
index
ddba963
..
6663cdc
100755
(executable)
--- a/
bin/cmless.py
+++ b/
bin/cmless.py
@@
-13,8
+13,9
@@
def main():
print("Content-Type: text/html;charset=utf-8\n")
content = misc.load_file(config.site_template_prefix + "/" + config.template_file)
print("Content-Type: text/html;charset=utf-8\n")
content = misc.load_file(config.site_template_prefix + "/" + config.template_file)
- content = template.tpl_title(content)
- content = template.tpl_body(content)
+ content = template.page_title(content)
+ content = template.site_title(content)
+ content = template.body(content)
print(content)
if __name__ == "__main__":
print(content)
if __name__ == "__main__":