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

github.com/themefisher/kross-hugo-portfolio-template.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Langlois <julien@julienlanglois.fr>2020-04-01 01:41:16 +0300
committerJulien Langlois <julien@julienlanglois.fr>2020-04-01 01:41:16 +0300
commit07142e3b62683c86b8d3b12d2f2d8ab992bf29c8 (patch)
treececad1302cacd6702e05e89b4d4e3e70c52656b4
parent9c372e73ec5498dabac8c7b278b2e6a579726aa1 (diff)
Fix typo
-rw-r--r--exampleSite/config.toml6
-rw-r--r--layouts/partials/footer.html14
2 files changed, 11 insertions, 9 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 7356c14..2d71383 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -60,10 +60,10 @@ address = "125/A, CA Commercial Area, California, USA"
# meta description
author = "Johnathan Smith"
description = "This is meta description"
-# google analitycs
-google_analitycs_id = "" # Your ID
+# google analytics
+google_analytics_id = "" # Your ID
# copyright
-copyright = "Copyrighht &copy; 2020 a theme by [gethugothemes](https://gethugothemes.com)"
+copyright = "Copyright &copy; 2020 a theme by [gethugothemes](https://gethugothemes.com)"
# contact
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 9694573..6e10563 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -67,13 +67,15 @@
{{ $script := resources.Get "js/script.js" | minify}}
<script src="{{ $script.Permalink }}"></script>
-{{ "<!-- google analitycs -->" | safeHTML }}
-{{ with .Site.Params.google_analitycs_id }}
+{{ "<!-- google analytics -->" | safeHTML }}
+{{ with .Site.Params.google_analytics_id }}
<script>
- (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');
+ (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', '{{ . }}', 'auto');
ga('send', 'pageview');
</script>