Additional index styling
[exim-website.git] / templates / doc / chapter.xsl
index 5f13185f5907581fd233f23bd2709995f39bf4f2..81f012500a38d7a8793c1d417f07ed67e163165c 100644 (file)
       <xsl:template match="/chapter/section">
 
          <!-- Section Title -->
-            <h3 id="{@id}" class="{@class}">
-               <xsl:value-of select="concat(position(),'. ',title)"/>
-            </h3>
+         <xsl:choose>
+            <xsl:when test="@class='index'">
+               <h3 id="{@id}" class="{@class}">
+                  <xsl:value-of select="title"/>
+               </h3>
+            </xsl:when>
+            <xsl:otherwise>
+               <h3 id="{@id}" class="{@class}">
+                  <xsl:value-of select="concat(position(),'. ',title)"/>
+               </h3>
+            </xsl:otherwise>
+         </xsl:choose>
 
          <!-- Section Paragraphs -->
          <div class="section{@class}">