[library-web] do not play with table of contents (GNOME bug 648221)



commit ac0a8be13c0a7c955f07d6d0b312b390eeb04ad1
Author: Frédéric Péters <fpeters 0d be>
Date:   Wed Apr 20 15:58:58 2011 +0200

    do not play with table of contents (GNOME bug 648221)

 data/xslt/html2html.xsl |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/data/xslt/html2html.xsl b/data/xslt/html2html.xsl
index a6c4964..abf20a5 100644
--- a/data/xslt/html2html.xsl
+++ b/data/xslt/html2html.xsl
@@ -235,15 +235,6 @@ along with libgo; if not, write to the Free Software Foundation, Inc.,
   <xsl:template match="meta[ content='text/html; charset=US-ASCII']">
   </xsl:template>
 
-  <xsl:template match="html:div[ class='toc']">
-  </xsl:template>
-
-  <xsl:template match="html:div[ class='toc']" mode="sidebar">
-    <div class="sidebar">
-      <xsl:apply-templates/>
-    </div>
-  </xsl:template>
-
   <xsl:template match="html:html">
     <html>
      <head>
@@ -308,7 +299,6 @@ along with libgo; if not, write to the Free Software Foundation, Inc.,
           </xsl:otherwise>
         </xsl:choose>
         </div>
-        <xsl:apply-templates select="//html:div[ class='toc']" mode="sidebar"/>
         <div id="footer_art" class="default"> </div>
       </div>
       <xsl:call-template name="libgo.footer"/>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]