templates/layout.tmpl
changeset 6 5565d94da522
parent 5 9ed4c7d2bdd2
child 8 0ce1f471e9d7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/layout.tmpl	Fri Feb 06 20:49:29 2009 +0200
@@ -0,0 +1,33 @@
+<!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" />
+    </head>
+    <body>
+            <div id="header">
+                QMSK.NET
+            </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
+            </ul>
+
+            <div id="content">
+                $page_content
+            </div>
+    </body>
+</html>
+