Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 515696 | Differences between
and this patch

Collapse All | Expand All

(-)a/devbook.xsl (-1 / +32 lines)
Lines 494-499 Link Here
494
        </nav>
494
        </nav>
495
      </header>
495
      </header>
496
      <div class="container">
496
      <div class="container">
497
        <div class="row">
498
          <div class="col-md010">
499
            <ol class="breadcrumb">
500
              <xsl:call-template name="printParentDocs">
501
                <xsl:with-param name="path" select="/guide/@self"/>
502
                <xsl:with-param name="depth" select="string-length(/guide/@self)-string-length(translate(/guide/@self, '/' , ''))"/>
503
              </xsl:call-template>
504
            </ol>
505
          </div>
506
        </div>
507
      </div>
508
      <div class="container">
497
        <xsl:apply-templates/>
509
        <xsl:apply-templates/>
498
      </div>
510
      </div>
499
      <footer>
511
      <footer>
Lines 660-665 Link Here
660
    </xsl:choose>
672
    </xsl:choose>
661
  </xsl:template>
673
  </xsl:template>
662
674
675
  <xsl:template name="printParentDocs">
676
    <xsl:param name="depth"/>
677
    <xsl:choose>
678
      <xsl:when test="$depth &gt; 0">
679
        <xsl:variable name="relative_path_depth_recursion">
680
          <xsl:call-template name="str:repeatString">
681
            <xsl:with-param name="count" select="$depth"/>
682
            <xsl:with-param name="append">../</xsl:with-param>
683
          </xsl:call-template>
684
        </xsl:variable>
685
686
        <li><a href="{$relative_path_depth_recursion}index.html"><xsl:value-of select="document(concat(/guide/@self, concat($relative_path_depth_recursion, 'text.xml')))/guide/chapter[1]/title"/></a></li>
687
688
        <xsl:call-template name="printParentDocs">
689
          <xsl:with-param name="depth" select="$depth - 1"/>
690
        </xsl:call-template>
691
      </xsl:when>
692
    </xsl:choose>
693
  </xsl:template>
694
663
  <xsl:template name="findParent">
695
  <xsl:template name="findParent">
664
    <xsl:choose>
696
    <xsl:choose>
665
    <xsl:when test="not(/guide/@root)">
697
    <xsl:when test="not(/guide/@root)">
666
- 

Return to bug 515696