Fix resource references missing /static/
[exim-website.git] / templates / doc / index.xsl
index 8e08d4a23708a39232aa228b2b5bed6ab85de07e..6237269bf231b69f97e6b449749478be4b12640d 100644 (file)
@@ -16,7 +16,7 @@
    <xsl:variable name="html.head.append">
 
       <!-- CSS -->
    <xsl:variable name="html.head.append">
 
       <!-- CSS -->
-         <link rel="stylesheet" type="text/css" href="{$docroot}/doc/index.css"/>
+         <link rel="stylesheet" type="text/css" href="{$staticroot}/doc/index.css"/>
 
       <!-- Canonical -->
          <link rel="canonical" href="{/book/canonical_url}"/>
 
       <!-- Canonical -->
          <link rel="canonical" href="{/book/canonical_url}"/>
@@ -25,7 +25,7 @@
  
    <!-- JavaScript -->
       <xsl:variable name="html.body.append">
  
    <!-- JavaScript -->
       <xsl:variable name="html.body.append">
-         <script type="text/javascript" src="{$docroot}/doc/index.js"/>
+         <script type="text/javascript" src="{$staticroot}/doc/index.js"/>
       </xsl:variable>
 
    <!-- CONTENT -->
       </xsl:variable>
 
    <!-- CONTENT -->
@@ -42,8 +42,8 @@
             <xsl:apply-templates select="bookinfo"/>
          </div>
          <div id="options" class="hidden">
             <xsl:apply-templates select="bookinfo"/>
          </div>
          <div id="options" class="hidden">
-            <img src="{$docroot}/doc/plus-12x12.png"  width="12" height="12" class="expand"/>
-            <img src="{$docroot}/doc/minus-12x12.png" width="12" height="12" class="collapse"/>
+            <img src="{$staticroot}/doc/plus-12x12.png"  width="12" height="12" class="expand"/>
+            <img src="{$staticroot}/doc/minus-12x12.png" width="12" height="12" class="collapse"/>
            <xsl:text>Expand/Collapse all Chapters</xsl:text>
          </div>
          <div id="index">
            <xsl:text>Expand/Collapse all Chapters</xsl:text>
          </div>
          <div id="index">