Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
082f05ea
Commit
082f05ea
authored
Jun 16, 2014
by
Davis King
Browse files
Moved Google Analytics stuff to the end of the head section.
parent
e1c2bdcb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
docs/docs/stylesheet.xsl
docs/docs/stylesheet.xsl
+12
-12
No files found.
docs/docs/stylesheet.xsl
View file @
082f05ea
...
@@ -290,6 +290,17 @@ function BigToggle(node)
...
@@ -290,6 +290,17 @@ function BigToggle(node)
margin-right: auto;
margin-right: auto;
}
}
</style>
</style>
<xsl:if
test=
"$is_chm != 'true'"
>
<script>
<!-- Google Analytics -->
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-51919357-1', 'dlib.net');
ga('send', 'pageview');
</script>
</xsl:if>
</head>
</head>
<body
bgcolor=
"{$background_color}"
>
<body
bgcolor=
"{$background_color}"
>
...
@@ -344,17 +355,6 @@ function BigToggle(node)
...
@@ -344,17 +355,6 @@ function BigToggle(node)
</div>
</div>
<xsl:if
test=
"$is_chm != 'true'"
>
<script>
<!-- Google Analytics -->
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-51919357-1', 'dlib.net');
ga('send', 'pageview');
</script>
</xsl:if>
</body>
</body>
</html>
</html>
</xsl:template>
</xsl:template>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment