templates/layout.tmpl
changeset 28 b68145b5ce24
parent 27 2acfbbe14226
child 29 b06ff4c05d42
--- a/templates/layout.tmpl	Sat Feb 07 05:05:29 2009 +0200
+++ b/templates/layout.tmpl	Sat Feb 07 05:12:57 2009 +0200
@@ -13,13 +13,9 @@
 </ul>
 </%def>
 
-<%def name="breadcumb(trail)">
-${' &raquo; '.join(pi.title for pi in trail)}
-</%def>
-
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
     <head>
-        <title>qmsk.net :: ${breadcumb(menu.ancestry)}</title>
+        <title>qmsk.net ${' :: ' + h.breadcrumb(menu.ancestry, links=False) if menu.ancestry else ''}</title>
         <link rel="Stylesheet" type="text/css" href="${site_root_url}/static/style.css" />
     </head>
     <body>
@@ -33,6 +29,9 @@
                 </div>
 
                 <div id="content">
+                    <div id="breadcrumb">
+                        <!-- ${h.breadcrumb(menu.ancestry)} -->
+                    </div>
                     ${page.content}
                 </div>