breadcrumb in <title>, evsql page
authorTero Marttila <terom@fixme.fi>
Sat, 07 Feb 2009 05:05:29 +0200
changeset 27 2acfbbe14226
parent 26 9d3beac1b196
child 28 b68145b5ce24
breadcrumb in <title>, evsql page
pages/list
pages/projects/evsql.html
templates/layout.tmpl
--- a/pages/list	Sat Feb 07 04:57:22 2009 +0200
+++ b/pages/list	Sat Feb 07 05:05:29 2009 +0200
@@ -2,6 +2,7 @@
             : Index
 projects        : Projects
     qmsk.net        : qmsk.net
+    evsql           : evsql
     nr-ttd          : Nr-TTD
     kg              : Kišna Glista
 about           : About
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pages/projects/evsql.html	Sat Feb 07 05:05:29 2009 +0200
@@ -0,0 +1,5 @@
+<h1>evsql</h1>
+    <p>Evsql is a C-language SQL library designed for use with libevent, and primarily PostgreSQL's libpq.</p>
+
+    <p>For more information, read the <a href="http://qmsk.net/static/evsql-doxygen/">Doxygen documentation</a>, or look at the <a href="http://hg.qmsk.net/evfuse.hg/file/tip/src/">Mercurial repo</a> (currently part of evfuse).</p>
+
--- 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>