Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/eliasson/liquorice.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Eliasson <markus.eliasson@gmail.com>2017-04-29 12:51:52 +0300
committerGitHub <noreply@github.com>2017-04-29 12:51:52 +0300
commit26265f03ef9433c91b73220b31ccf4c78a072d53 (patch)
tree336fb84f520b702178fcfd2cbee920fa958bcf1b
parent901ad23e5235e5427d1ad6458bef9d0e4b028eb1 (diff)
parent7dedfe1e1464fd43928c3e81db61317c0640f917 (diff)
Merge pull request #12 from apie/ga
Replace custom google analytics code by internal template
-rw-r--r--layouts/partials/tail.html14
1 files changed, 1 insertions, 13 deletions
diff --git a/layouts/partials/tail.html b/layouts/partials/tail.html
index fa0eb12..f557576 100644
--- a/layouts/partials/tail.html
+++ b/layouts/partials/tail.html
@@ -6,18 +6,6 @@
}
//-->
</script>
- <script type="text/javascript">
- <!--
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', {{ .Site.Params.gaCode }}]);
- _gaq.push(['_trackPageview']);
-
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
- -->
- </script>
+ {{ template "_internal/google_analytics.html" . }}
</body>
</html>