templates/layout.tmpl
changeset 27 2acfbbe14226
parent 26 9d3beac1b196
child 28 b68145b5ce24
--- a/templates/layout.tmpl	Sat Feb 07 04:57:22 2009 +0200
+++ b/templates/layout.tmpl	Sat Feb 07 05:05:29 2009 +0200
@@ -13,9 +13,13 @@
 </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 :: ${page.title}</title>
+        <title>qmsk.net :: ${breadcumb(menu.ancestry)}</title>
         <link rel="Stylesheet" type="text/css" href="${site_root_url}/static/style.css" />
     </head>
     <body>