Anonymous avatar Anonymous committed 1c6422e

Tweaked the XSLT so the Google Ads will appear on the front page and
other fixes.

Comments (0)

Files changed (1)


-    exclude-resut-prefixes="d"
+    exclude-result-prefixes="d"
     <xsl:param name="fop1.extensions">1</xsl:param>
-<xsl:template name="html_itemized_list">
-    <div xmlns="" class="{name(.)}">
-    <xsl:call-template name="anchor"/>
-    <xsl:if test="title">
-      <xsl:call-template name="formal.object.heading"/>
-    </xsl:if>
-    <xsl:apply-templates select="*[not(self::listitem or self::title 
-        or self::titleabbrev)]"/>
-    <ul>
-         <xsl:if test="@role">
-             <xsl:attribute name="class">
-                 <xsl:value-of select="@role"/>
-             </xsl:attribute>
-         </xsl:if>
-      <xsl:if test="$css.decoration != 0">
-        <xsl:attribute name="type">
-          <xsl:call-template name="list.itemsymbol"/>
-        </xsl:attribute>
-      </xsl:if>
-      <xsl:if test="@spacing='compact'">
-        <xsl:attribute name="compact">
-          <xsl:value-of select="@spacing"/>
-        </xsl:attribute>
-      </xsl:if>
-      <xsl:apply-templates select="listitem"/>
-    </ul>
-  </div>
 <!-- Insert some AdSense Ads -->
 <xsl:template name="user.header.navigation">
-    <div class="site_nav_menu">
-        <ul>
-            <li><a href="{$docmake.output.path_to_root}">Home</a></li>
-            <li><a href="{$docmake.output.path_to_root}humour/">Humour</a></li>
-            <li><a href="{$docmake.output.path_to_root}philosophy/">Articles and Essays</a></li>
-            <li><a href="{$docmake.output.path_to_root}puzzles/">Puzzles</a></li>
-            <li><a href="{$docmake.output.path_to_root}art/">Computer Art</a></li>
-        </ul>
-    </div>
     <div class="center ads_top">
     <script type="text/javascript">
 google_ad_client = "pub-2480595666283917";
+<xsl:template name="user.header.content">
+    <xsl:call-template name="user.header.navigation"/>
 <xsl:template name="paragraph">
   <xsl:param name="class" select="''"/>
   <xsl:param name="content"/>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.