X-Git-Url: https://git.draconx.ca/gitweb/homepage.git/blobdiff_plain/da4a13ce4868f32787813c76898cc9b39dec1bcc..f57dfdb93250c13216bce633b1caf8af494552d6:/layouts/default.xsl diff --git a/layouts/default.xsl b/layouts/default.xsl index 2af8dc2..2945570 100644 --- a/layouts/default.xsl +++ b/layouts/default.xsl @@ -1,8 +1,8 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <xsl:variable name='page-title' select='string(/document/title)' /> <xsl:if test='$page-title and $site-title != $page-title'> @@ -135,6 +202,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 />