Added ability to record metadata at top of page data file.
[cmless] / site_sample / template / template.tpl
index 1098ce9..d42acb4 100644 (file)
@@ -3,6 +3,8 @@
     <title>%%page_title%%</title>
     <link rel="stylesheet" href="/style.css" type="text/css" media="screen, handheld" title="default">
     <meta charset="UTF-8">
     <title>%%page_title%%</title>
     <link rel="stylesheet" href="/style.css" type="text/css" media="screen, handheld" title="default">
     <meta charset="UTF-8">
+    %%meta_description%%
+    %%meta_keywords%%
 </head>
 <body>
     <div id="header">
 </head>
 <body>
     <div id="header">
@@ -20,7 +22,7 @@
     </div>
     <div id="footer">
         <span class="left">Powered by <a href="https://github.com/subgeniuskitty/cmless">CMless</a></span>
     </div>
     <div id="footer">
         <span class="left">Powered by <a href="https://github.com/subgeniuskitty/cmless">CMless</a></span>
-        <span class="right">&copy; 2018 subgeniuskitty.com</span>
+        <span class="right">&copy; %%current_year%% subgeniuskitty.com</span>
     </div>
 </body>
 </html>
     </div>
 </body>
 </html>