Added ability to record metadata at top of page data file.
[cmless] / bin / cmless.py
index ddba963..825ec25 100755 (executable)
@@ -13,8 +13,12 @@ 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.current_year(content)
+    content = template.head_meta_description(content)
+    content = template.head_meta_keywords(content)
+    content = template.body(content)
     print(content)
 
 if __name__ == "__main__":
     print(content)
 
 if __name__ == "__main__":