JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
only use lesscss when local
[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         <link rel="stylesheet~$running_locally {~/less~}~" href="style_01.~$running_locally {~less~}~~$running_locally unset {~css~}~" /><!--~$running_locally {~--><script>less = {env:'development'};</script><script src="/javascript/less/less.min.js"></script><!--~}~-->
13         <!--~$head~-->
14 </head>
15
16 <body>
17         <div id="centerer">
18                 <header>
19                         header image here
20                 </header>
21                 <nav><!--~$navbar_items {~-->
22                         <h3><a href="~filename~">~title html~</a></h3><!--~}~-->
23                 </nav>
24
25                 <div id="main-body">
26                         <!--~$admin_links {~-->
27                                 <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>
28                         <!--~}~-->
29                         <!--~$messages once_if {~-->
30                                 <div id="wfpl_messages">
31                                         <!--~$messages {~-->
32                                                 <p>~message html~</p>
33                                                 <!--~ sep {~-->
34                                                         <hr>
35                                                 <!--~}~-->
36                                         <!--~}~-->
37                                 </div>
38                         <!--~}~-->
39
40                         <article>
41                                 ~$cms_body~
42
43                                 ~$body~
44                         </article>
45                 </div>
46                 <footer>
47                         footer text here
48                 </footer>
49         </div>
50 </body>
51 </html>