JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
switch from less to stylus
[wfpl-cms.git] / template.html
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4         <title>~$title html~~$cms_title html~</title>
5         <!--~$meta_description nonempty {~--><meta name="description" content="~$meta_description attr~" /><!--~}~-->
6         <!--~$meta_keywords nonempty {~--><meta name="keywords" content="~$meta_keywords attr~" /><!--~}~-->
7         <!--[if lt IE 9]>
8                 ~$running_locally {~<script src="/javascript/html5.js"></script>~}~
9                 ~$running_locally unset {~<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>~}~
10         <![endif]-->
11         <link rel="stylesheet~$running_locally {~/less~}~" href="style.~$running_locally {~less?m=~style.less mtime~~}~~$running_locally unset {~css?m=~style.css mtime~~}~" /><!--~$running_locally {~--><script>less = {env:'development'};</script><script src="/javascript/less/less.min.js"></script><!--~}~-->
12         <!--~$head~-->
13 </head>
14
15 <body id="~$basename~_body" class="real_body_tag">
16         <div id="centerer">
17                 <header>
18                         header image here
19                 </header>
20                 <nav id="site-nav">
21                         <ul><!--~$navbar_items {~-->
22                                 <li><a href="~filename~">~title html~</a></li><!--~}~-->
23                         </ul>
24                 </nav>
25
26                 <div id="main-body">
27                         <!--~$admin_links {~-->
28                                 <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>
29                         <!--~}~-->
30                         <!--~$messages once_if {~-->
31                                 <div id="wfpl_messages">
32                                         <!--~$messages {~-->
33                                                 <p>~message htmlbrtab~</p>
34                                                 <!--~ sep {~-->
35                                                         <hr>
36                                                 <!--~}~-->
37                                         <!--~}~-->
38                                 </div>
39                         <!--~}~-->
40
41                         <article>
42                                 ~$cms_body~
43
44                                 ~$body~
45                         </article>
46                 </div>
47                 <footer>
48                         footer text here
49                 </footer>
50         </div>
51 </body>
52 </html>