JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
new template naming conventions, etc
[wfpl-cms.git] / template.html
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4         <meta charset="utf-8" />
5         <title>~$title html~~$cms_title html~</title>
6         <!--~meta_description nonempty {~--><meta name="description" content="~meta_description attr~" /><!--~}~-->
7         <!--~meta_description nonempty {~--><meta name="keywords" content="~meta_keywords attr~" /><!--~}~-->
8         <!--[if lt IE 9]>
9                 ~$running_locally {~<script src="/javascript/html5.js"></script>~}~
10                 ~$running_locally unset {~<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>~}~
11         <![endif]-->
12         <script>less = {env:'development'};</script>
13         <link rel="stylesheet/less" href="style_01.less" />
14         <!--~$running_locally {~--><script src="/javascript/less/less.min.js"></script><!--~}~-->
15         <!--~$running_locally unset {~--><script src="http://lesscss.googlecode.com/files/less-1.0.41.min.js"></script><!--~}~-->
16         <!--~$head~-->
17 </head>
18
19 <body>
20         <div id="centerer">
21                 <header>
22                         header image here
23                 </header>
24                 <nav><!--~$navbar_items {~-->
25                         <h3><a href="~filename~">~title html~</a></h3><!--~}~-->
26                 </nav>
27
28                 <div id="main-body">
29                         <!--~$admin_links {~-->
30                                 <div id="admin_links">You are logged in as an administrator. &nbsp; <a href="admin_pages?~id {~edit_id=~id~~}~~id unset {~&amp;new=1&amp;new_filename=~$basename~~}~">Edit this page</a> &mdash; <a href="admin">Control panel</a> &mdash; <a href="logout">Log out</a></div>
31                         <!--~}~-->
32                         <!--~$messages once_if {~-->
33                                 <div id="wfpl_messages">
34                                         <!--~$messages {~-->
35                                                 <p>~message html~</p>
36                                                 <!--~ sep {~-->
37                                                         <hr>
38                                                 <!--~}~-->
39                                         <!--~}~-->
40                                 </div>
41                         <!--~}~-->
42
43                         <article>
44                                 ~$cms_body~
45
46                                 ~$body~
47                         </article>
48                 </div>
49                 <footer>
50                         footer text here
51                 </footer>
52         </div>
53 </body>
54 </html>