X-Git-Url: http://git.draconx.ca/gitweb/homepage.git/blobdiff_plain/825315fbb0673eedb0963d76878f3ea91f18e255..78e7de848f072d19e6c99865f793dbec482c7858:/layouts/default.xsl diff --git a/layouts/default.xsl b/layouts/default.xsl index d7381d5..eaeef72 100644 --- a/layouts/default.xsl +++ b/layouts/default.xsl @@ -35,6 +35,7 @@ + @@ -81,7 +82,10 @@ - + + + + @@ -97,9 +101,26 @@ + + + + + + + + + + + + + + - - - () - + + + + () + + @@ -178,6 +201,7 @@ + <xsl:variable name='page-title' select='string(/document/title)' /> <xsl:if test='$page-title and $site-title != $page-title'> @@ -188,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 />