mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-04-21 02:41:52 +02:00
small fix
This commit is contained in:
parent
2b3b34fab9
commit
bd603475c7
1 changed files with 8 additions and 10 deletions
|
@ -1,11 +1,9 @@
|
|||
{{ 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" . */}}
|
||||
{{ partial "ga-analytics.html" }}
|
||||
{{ 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" . */}}
|
||||
{{ partial "ga-analytics.html" }}
|
Loading…
Add table
Reference in a new issue