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

github.com/parsiya/Hugo-Octopress.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/footer.html9
-rwxr-xr-xlayouts/partials/header.html3
2 files changed, 1 insertions, 11 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 4817304..6569b9c 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -26,13 +26,6 @@
{{ end }}
<!-- End Piwik Code -->
- {{ with .Site.Params.googleAnalytics }}
- <script>
- var _gaq=[['_setAccount','{{ . }}'],['_trackPageview']];
- (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
- g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
- s.parentNode.insertBefore(g,s)}(document,'script'));
- </script>
- {{ end }}
+ {{ template "_internal/google_analytics.html" . }}
</body>
</html>
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 6294536..2ebd50a 100755
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -51,9 +51,6 @@
<!-- Generator version for usage tracking -->
{{ hugo.Generator }}
- <!-- Google Analytics -->
- {{ template "_internal/google_analytics_async.html" . }}
-
<!-- Enable Twitter card -->
{{ with .Site.Params.twitterCardEnabled }}
{{ partial "custom_twitter_card.html" $ }}