X-Git-Url: http://git.draconx.ca/gitweb/homepage.git/blobdiff_plain/e568824ea21f983841b8ab9e2afbcf0c57573f0b..78e7de848f072d19e6c99865f793dbec482c7858:/layouts/default.xsl diff --git a/layouts/default.xsl b/layouts/default.xsl index 020d1fd..eaeef72 100644 --- a/layouts/default.xsl +++ b/layouts/default.xsl @@ -35,6 +35,7 @@ + @@ -81,7 +82,10 @@ - + + + + @@ -97,6 +101,15 @@ + + + + + + @@ -137,10 +150,12 @@ - - - () - + + + + () + + @@ -186,6 +201,7 @@ + <xsl:variable name='page-title' select='string(/document/title)' /> <xsl:if test='$page-title and $site-title != $page-title'> @@ -196,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 />