mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-11-08 12:09:21 +00:00
fixe issue with analytics and new hugo update
This commit is contained in:
1 parent
b64e7fc6d5
commit
2b3b34fab9
458 files changed
+17527
-2592
No files matched your search
@@ -1,10 +1,11 @@
|
||||
{{ if hugo.IsProduction }}
|
||||
{{ with .Site.Params.fathomAnalytics.site }}
|
||||
{{ if not hugo.IsProduction }}
|
||||
{{ with site.Params.fathomAnalytics.site }}
|
||||
{{ if isset $.Site.Params.fathomanalytics "domain" }}
|
||||
<script defer src="https://{{ $.Site.Params.fathomanalytics.domain }}/script.js" data-site="{{ . }}"></script>
|
||||
{{ else }}
|
||||
<script defer src="https://cdn.usefathom.com/script.js" data-site="{{ . }}"></script>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ template "_internal/google_analytics.html" . }}
|
||||
{{/* template "_internal/google_analytics.html" . */}}
|
||||
{{ partial "ga-analytics.html" }}
|
||||
{{ end }}
|
||||
Reference in new issue
Block a user