mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-22 22:45:42 -06:00
766 - fix analytics partial to make fathom analytics configurable
This commit is contained in:
parent
02da08de65
commit
74a09bab49
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
{{ with site.Params.fathomAnalytics.site }}
|
||||
{{ if isset $.Site.Params.fathomanalytics "domain" }}
|
||||
<script defer src="https://{{ $.Site.Params.fathomanalytics.domain }}/script.js" data-site="{{ . }}"></script>
|
||||
{{ if isset $.Params.fathomAnalytics "domain" }}
|
||||
<script defer src="https://{{ $.Params.fathomAnalytics.domain }}/script.js" data-site="{{ . }}"></script>
|
||||
{{ else }}
|
||||
<script defer src="https://cdn.usefathom.com/script.js" data-site="{{ . }}"></script>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue