templates/layout.tmpl
changeset 8 0ce1f471e9d7
parent 6 5565d94da522
child 9 2a47b00f60b0
--- a/templates/layout.tmpl	Fri Feb 06 21:31:02 2009 +0200
+++ b/templates/layout.tmpl	Fri Feb 06 22:48:00 2009 +0200
@@ -1,18 +1,9 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
-#def page_title
-qmsk.net
-#end def
-#def page_content
-<h1>Content Goes Here</h1>
-
-Content goes here.
-#end def
-
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
     <head>
-        <title>qmsk.net :: $page_title</title>
-        <link rel="Stylesheet" type="text/css" href="$site_url/style.css" />
+        <title>qmsk.net :: ${page_title}</title>
+        <link rel="Stylesheet" type="text/css" href="${site_root_url}/static/style.css" />
     </head>
     <body>
             <div id="header">
@@ -20,13 +11,11 @@
             </div>
  
             <ul id="nav">
-                #for $menu_page_path in $page.parent.menu
-                <li><a href="$page_root/$menu_page_path"#if $page.path == $menu_page_path then ' id="selected-page"' else '' #>$menu_page_path</a></li>
-                #end for
+                <li><a href="#foo">Foo</a></li>
             </ul>
 
             <div id="content">
-                $page_content
+                ${page_content}
             </div>
     </body>
 </html>