Browse Source

Fixed misspellings of 'analytics'

tags/v1.0.0
Tama 4 years ago
parent
commit
753f2df133
2 changed files with 4 additions and 4 deletions
  1. 2
    2
      exampleSite/config.toml
  2. 2
    2
      layouts/partials/footer.html

+ 2
- 2
exampleSite/config.toml View File

# Meta data # Meta data
description = "Responsive Multipurpose Parallax HTML5 Template" description = "Responsive Multipurpose Parallax HTML5 Template"
author = "Themefisher" author = "Themefisher"
# Google Analitycs
google_analitycs_id = "" # Your ID
# Google Analytics
google_analytics_id = "" # Your ID
# post share # post share
post_share = true post_share = true



+ 2
- 2
layouts/partials/footer.html View File

{{ $script := resources.Get "js/script.js" | minify}} {{ $script := resources.Get "js/script.js" | minify}}
<script src="{{ $script.Permalink }}"></script> <script src="{{ $script.Permalink }}"></script>


{{ "<!-- google analitycs -->" | safeHTML }}
{{ with .Site.Params.google_analitycs_id }}
{{ "<!-- google analytics -->" | safeHTML }}
{{ with .Site.Params.google_analytics_id }}
<script> <script>
(function (i, s, o, g, r, a, m) { (function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r; i['GoogleAnalyticsObject'] = r;

Loading…
Cancel
Save