Merge pull request #62 from wojdzie/master
[gitmagic.git] / custom-html.xsl
blob0753e78e76f417f8a6f7d4c8a19b8c64cfedde1b
1 <?xml version='1.0'?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3 xmlns:fo="http://www.w3.org/1999/XSL/Format"
4 version="1.0">
5 <xsl:param name="chunk.section.depth" select="0"></xsl:param>
6 <xsl:param name="css.decoration" select="0"></xsl:param>
7 <xsl:param name="toc.list.type">ul</xsl:param>
8 <xsl:param name="chunker.output.encoding" select="'UTF-8'"></xsl:param>
9 <xsl:param name="chunker.output.doctype-public" select="'-//W3C//DTD HTML 4.01 Transitional//EN'"></xsl:param>
10 <!-- use tidy instead
11 <xsl:param name="chunker.output.indent" select="'yes'"></xsl:param>
12 -->
13 <xsl:param name="suppress.navigation" select="1"></xsl:param>
14 <xsl:param name="generate.toc" select="'book toc'"/>
15 <xsl:param name="html.stylesheet" select="'default.css'"/>
17 <xsl:template name="user.footer.navigation">
18 <!-- Google Analytics -->
19 <script>
20 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
21 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
22 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
23 })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
24 ga('create', 'UA-1901330-2', 'auto');
25 ga('send', 'pageview');
26 </script>
27 <!-- End Google Analytics -->
28 </xsl:template>
30 </xsl:stylesheet>