X-Git-Url: http://git.draconx.ca/gitweb/homepage.git/blobdiff_plain/da4a13ce4868f32787813c76898cc9b39dec1bcc..78e7de848f072d19e6c99865f793dbec482c7858:/layouts/default.xsl diff --git a/layouts/default.xsl b/layouts/default.xsl index 2af8dc2..eaeef72 100644 --- a/layouts/default.xsl +++ b/layouts/default.xsl @@ -1,8 +1,8 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - () - + + + + () + + @@ -125,6 +201,7 @@ + <xsl:variable name='page-title' select='string(/document/title)' /> <xsl:if test='$page-title and $site-title != $page-title'> @@ -135,6 +212,22 @@ </head> <body> <xsl:apply-templates select='/document/xhtml:html/@*' /> + + <xsl:if test='/document/hierarchy/parent'> + <p id='sitetitle'> + <small><xsl:value-of select='$site-title' /></small> + </p> + <div id='breadcrumbs'> + <strong>Return to: </strong> + <ul> + <xsl:for-each select='/document/hierarchy/parent'> + <li><a href='{uri}'><xsl:value-of select='name'/></a></li> + </xsl:for-each> + </ul> + </div> + <hr /> + </xsl:if> + <xsl:apply-templates select='/document/xhtml:html/node()' /> <hr />