]> sipb.mit.edu Git - ikiwiki.git/blobdiff - templates/page.tmpl
Google Analytics tracking
[ikiwiki.git] / templates / page.tmpl
index 19d2362c7dd10d174220ee2ea4d1113619a4fff1..e0a080b7897064f7ed72e3e0ce280905af91f5bd 100644 (file)
@@ -17,7 +17,6 @@
                <title><TMPL_VAR TITLE></title>
                
                <link rel="stylesheet" type="text/css" href="<TMPL_VAR BASEURL>style.css" />
-               <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js" type="text/javascript"></script>
        </head>
        
        <body>
@@ -80,6 +79,9 @@
                                        <TMPL_IF NAME="HISTORYURL">
                                        <li><a href="<TMPL_VAR HISTORYURL>">History</a></li>
                                        </TMPL_IF>
+                                       <TMPL_IF NAME="GETSOURCEURL">
+                                       <li><a href="<TMPL_VAR GETSOURCEURL>">Source</a></li>
+                                       </TMPL_IF>
                                        <TMPL_IF NAME="PREFSURL">
                                        <li><a href="<TMPL_VAR PREFSURL>">Preferences</a></li>
                                        </TMPL_IF>
                        <p>Unless otherwise specified, all content on this wiki is released under a dual license of the Creative Commons Attribution-Share Alike license, and the GNU Free Documentation License, with no Invariant Sections, no Front-Cover Texts, and no Back-Cover-Texts.<br />
                         This follows the SIPB Documentation Licensing Recommendation.</p>
                </div>
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-15235584-1");
+pageTracker._trackPageview();
+} catch(err) {}</script>
        </body>
 </html>