Add table of contents to documentation pages
[exim-website.git] / templates / doc / chapter.xsl
index 430a6d3bde2f79a3dc59919d7713f14b7fa0005f..13a7c91e73ec7279be142752c97363fbfa574422 100644 (file)
          <script type="text/javascript" src="{$docroot}/doc/chapter.js"/>
       </xsl:variable>
 
+   <!-- Table of Contents -->
+      <xsl:variable name="html.body.outer.append">
+         <div id="toc">
+            <ul class="hidden"/>
+            <img src="../../../../doc/contents.png" width="16" height="155"/>
+         </div>
+      </xsl:variable>
+
    <!-- CONTENT -->
       <xsl:template match="/chapter">